Windows Phone 8.1商店启动协议

最近开发wp8.1已经两个月了,感觉坑不少,原来8时代的商店api多明了,微软不给封装就算了,至少你要在msdn上明显的地方标注下啊...................顺便在吐槽下bing,找了一个下午没找到有用的资料,最起码你也整合一下 微软生态的资料啊..................

前面纯属吐槽可以略过.................

下面正题,其实就是第三方启动协议,只是我们不知道启动协议的标准罢了....................

 

var uri = new Uri(string.Format(@"ms-windows-store:navigate?appid={0}", appid));商店根据appid跳转

var uri = new Uri(string.Format(@"ms-windows-store:search?keyword={0}",keyword));关键字搜索

var uri = new Uri(string.Format(@"ms-windows-storereviewapp?appid={0}", appid));商店根据appid跳转评论

await Windows.System.Launcher.LaunchUriAsync(uri);

 

以后会更新更多的wp8.1的坑,大家一起讨论学习哈

posted @ 2014-07-21 09:23  XuanStudio  阅读(675)  评论(6编辑  收藏  举报