Damien
Damien

Reputation: 2901

Auto-launching apps using URI associations for Windows Phone Universal 8.1

I have an application named MyApplication. What I am trying to do is to do deep linking. I would like to associate a link that when click on my Windows Phone 8.1 XAML, the application will be launched with the elements passed.

For example: MyApplication://item/1234 -> will open my application.

I am trying to do this from outside of an application is this possible? for example if I clicked on this link that was in an email, could it be redirected to my application?

Edit:

Here is part of the solution but i am not finding what i really wanted to do:

Uri Activation(XAML) https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh779670.aspx

Code: https://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec

Upvotes: 0

Views: 1038

Answers (1)

Jerry Nixon
Jerry Nixon

Reputation: 31803

You sure can. Create the protocol (something like test:) in your app and deploy it to your machine. Then, in Start>Run type "test:" and your app will load just fine. A link in email? Sure. A link in a web page? Sure. It all works.

A little more: http://blog.jerrynixon.com/2012/10/walkthrough-using-windows-8-custom.html

Best of luck!

Upvotes: 2

Related Questions