Custom URIs added to I'm Here App

I took a few moments to add custom URI launchers for my I'm Here app on Windows Phone so it could be used in Rob Irving's Car Dash app.  It was a really quick add to the app, however the one are I found to be a pain was testing it.  I actually had to write another phone app to test it. Not that it was a chore, just didn't consider that when I started, I made an assumption I could've just typed i the URI in Internet Explorer or mocked an SMS message like you can in iOS.

If you have a Windows Phone App that offers functionality that other apps can use there is no reason not to offer custom launchers.  It takes about an hour total development time, and the benefit can more than just adding the functionality.

In my case, one I learned how to do it. Two, I get free marketing from another very successful app. Make sure you document your URI on the Nokia page here to let every other developer know for extra exposure. And finally, made a nice connection in the developer community.  Who knows, maybe the next big thing will happen when Rob and I team up...

If you want to use I'm Here in your app here is the simple launcher URI code to do so.

// launch the app await Windows.System.Launcher.LaunchUriAsync(new Uri("imhere:")); // launch the app and share location via SMS

await Windows.System.Launcher.LaunchUriAsync(new Uri("imhere://share/text")); // launch the app and share location via Email

await Windows.System.Launcher.LaunchUriAsync(new Uri("imhere://share/email")); // launch the app and share location via Social Apps

await Windows.System.Launcher.LaunchUriAsync(new Uri("imhere://share/social"));

// launch the app and share location via WhatsApp application await Windows.System.Launcher.LaunchUriAsync(new Uri("imhere://share/whatsapp"));

Be sure to checkout my apps and the other links below to take advantage of the custom URIs in you own apps.

Rob Irving on Twitter Nokia URI Association Schemes List URI associations for Windows Phone - How To Reserved file and URI associations for Windows Phone 8

Tweet Post Share Update Email RSS

Hi, I'm Shayne Boyer, I write this site, work on ASP.NET Core content and Open Source, speak at national and community events while helping teams architect web and cloud applications.

Tags:
windows__phone apps