You can do this easily and simply using the metro application by adding a special section to your manifest and making sure that you are processing the correct type of activation in your activation handler.
You can easily add a manifest using the VS editor for manfiest:
- Open the manifest by double-clicking on it in the solution explorer
- Select the Ads tab
- In the "Available Ads" section, select the protocol and click "Add."
- Set the name field for the desired protocol. like "myawesomeapp" (this will give you URLs like
myawesomeapp://foo/bar/baz ).
To process this protocol, you need to look for the activation type "Protocol". This is in your activation handler and in the "View" property. Full information on MSDN is here (prog. Lang. Switch is in the upper right corner) for JavaScript and C # / C ++ / VB.
source share