如何通过浏览器uri启动WP8应用 [英] How to launch a WP8 app via browser uri
问题描述
我已经在我的应用程序上注册了URI关联,并且可以使用API Windows.System.Launcher.LaunchUriAsync(new System.Uri("telenavnavigator:navigation?address = kiffer rd,sunnvalue& lat = 34.566 & lon = 45.777"))来启动我的应用.
I have registed a URI association on my app, and I can use API Windows.System.Launcher.LaunchUriAsync(new System.Uri("telenavnavigator:navigation?address=kiffer rd, sunnvalue&lat=34.566&lon=45.777")) to start my app.
我想在IE浏览器中启动我的应用程序,如何编写URI方案?
I want to launch my app in IE browser, how to write URI scheme?
推荐答案
您的URI方案应该可以工作.请勿在URI前面加上两个斜杠,否则将调用传统的Web uri方案.您可能需要使用url编码(不确定).
Your URI scheme should work. Do not prefix the URI with two slashes otherwise the traditional web uri scheme will be invoked. You might need to use url encoding (not sure).
-马克
这篇关于如何通过浏览器uri启动WP8应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!