Windows Phone 8.1中的MarketPlaceTask [英] MarketPlaceTask in Windows Phone 8.1

查看:67
本文介绍了Windows Phone 8.1中的MarketPlaceTask的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我尝试从这个应用程序在商店(市场)打开我的Windows Phone 8.1应用程序。


我试试

 Windows.System.Launcher.LaunchUriAsync(new Uri(" zune:navigate?appid = {appId}")); 
Windows.System.Launcher.LaunchUriAsync(new Uri(" ms-windows-store:PDP?PFN = {appId}"));
Windows.System.Launcher.LaunchUriAsync(new Uri(" ms-windows-store:navigate?appid = {appId}"));
Windows.System.Launcher.LaunchUriAsync(new Uri({storeLink}));

仅限工作 

 Windows.System.Launcher.LaunchUriAsync(new Uri(" zune:navigate?appid = {appId}")); 


并且只有我设置了wp8.0 id(guid)。使用wp8.1 id无效。

解决方案

以下链接中的Uri参数可以帮助您


http://msdn.microsoft.com/en-us/library/窗口/应用/ dn770213(v = vs.105)的.aspx


Hi!

I try open my windows phone 8.1 app in store (marketplace) from this app.

I try

Windows.System.Launcher.LaunchUriAsync(new Uri("zune:navigate?appid={appId}"));
                        Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:PDP?PFN={appId}"));
                       Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:navigate?appid={appId}"));
                        Windows.System.Launcher.LaunchUriAsync(new Uri({storeLink}));

Work only 

Windows.System.Launcher.LaunchUriAsync(new Uri("zune:navigate?appid={appId}"));

and only if I set wp8.0 id (guid). With wp8.1 id nothing work.

解决方案

Uri parameters in following link should help you

http://msdn.microsoft.com/en-us/library/windows/apps/dn770213(v=vs.105).aspx


这篇关于Windows Phone 8.1中的MarketPlaceTask的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆