简体   繁体   English

Windows Phone 8 App,导航到商店

[英]Windows Phone 8 App, navigate to store

i have a windows phone 8 app, where there are 2 versions an light and a full version. 我有一个Windows Phone 8应用程序,其中有2个版本的灯和完整版。 i would like to ask the user if the likes the app and direct him to the store page for my full version of the app. 我想问用户是否喜欢该应用程序,并将他引导到我的完整版应用程序的商店页面。

I have tryed the following 我试过以下

NavigationService.Navigate(new Uri("http://windowsphone.com/s?appId=3e1603cd-56a3-49aa-8d0c-cf4bee8cefd2", UriKind.Absolute));

But it throws an null error, how can navigate my user to the store page of my app? 但它会抛出一个null错误,如何将我的用户导航到我的应用程序的商店页面?

I think you can use WebBrowserTask: 我想你可以使用WebBrowserTask:

 WebBrowserTask webBrowserTask = new WebBrowserTask();
 webBrowserTask.Uri = new Uri("http://windowsphone.com/s?appId=3e1603cd-56a3-49aa-8d0c-cf4bee8cefd2");
 webBrowserTask.Show();

I assume (because it's different App) that you don't want to use: 我假设(因为它是不同的App)你不想使用:

 MarketplaceDetailTask _marketPlaceDetailTask = new MarketplaceDetailTask();
 _marketPlaceDetailTask.Show();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM