Max
Max

Reputation: 145

Launch App through SMS (URI-Association)

Is it possible to launch an App using a pre-registered URI through SMS? I successfully tested launching Apps through links on websites (e.g. myapp:param=test in the href of a link) but had no luck concerning SMS.

Is there any way to launch own Apps out of Short Messages?

Thanks & Regards

Upvotes: 5

Views: 784

Answers (2)

user3595150
user3595150

Reputation: 1

Look at Nokia Developer page. The pattern for the Uri association is following:

<Custom Protocol Name>:<LandingPage>?[NavigationParameter1]=[NavigationValue1]

Where expressions in square brackets are optional. It means that you have to specify application name and a Landing page, which you want to reach. Example: myapp:MainPage, navigation parameters are optional. In WMAppManifest.xaml you will have something like this:

<Extensions>
  <Protocol Name="myApp" NavUriFragment="encodedLaunchUri=%s" TaskID="_default"/>
</Extensions>

Hope it helped.

Upvotes: 0

Paul Annetts
Paul Annetts

Reputation: 9604

It's working for me fine. Just put the raw URI in the SMS.

myapp:param=test

This should show as a link in the SMS which when clicked will launch the app or cause the Store app to open.

Of course on a phone which doesn't support the URI this won't work. An alternative would be to send by SMS a link to a website which then presents a app-launch link on compatible phones. (This is what Spotify does for example).

Upvotes: 2

Related Questions