开发者

Open Windows Phone 7 App from URL

I need to launch my WP7 application from the phone's browser and pass some 开发者_StackOverflow社区arguments. For example, the following url would be a link on an html page. Clicking the link would start my application. iPhone and Android both have these capabilites by the name of 'url schemes'.

appName://my.arguments.here

How can I accomplish this on WP7?

Thanks!


Unfortunately there is currently no support for "url schemes" or custom URL handlers that will allow you to handle these requests from within your application.


It is possible to integrate with the search application, which can provide deep linking into your application. It also appears that YouTube has some kind of way of doing it, as the mobile version of their site will jump to the app for playback of videos.


You should use the protocol activation feature of Windows Store apps - see http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜