在WP8中的Store应用中导航到我的商店

时间:2014-08-26 04:30:57

标签: c# windows-phone-8

我想在我的xaml页面添加一个按钮,该按钮将导航到我在商店应用程序中的商店,例如:

private void hotGame_Click(object sender, RoutedEventArgs e)
    {
         // code go here
    }

,我的商店链接看起来像这样

http://www.windowsphone.com/en-US/store/publishers?publisherId=GameXP%2BStudio&appId=a18e8dec-e69b-414d-9cb5-80c5a264d8eb

我只是不知道WP8是否可以导航到另一个应用程序(在这种情况下是商店应用程序)?

1 个答案:

答案 0 :(得分:0)

您只需调用WebBrowserTask ..

即可
    WebBrowserTask webBrowserTask = new WebBrowserTask();
    webBrowserTask.Uri = new Uri("http://www.windowsphone.com/en-US/store/publishers?publisherId=GameXP%2BStudio&appId=a18e8dec-e69b-414d-9cb5-80c5a264d8eb
", UriKind.Absolute);
    webBrowserTask.Show();

MarketPlaceDetailsTask ..

MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();
marketplaceDetailTask.ContentIdentifier = "a18e8dec-e69b-414d-9cb5-80c5a264d8eb";
marketplaceDetailTask.ContentType = MarketplaceContentType.Applications;
marketplaceDetailTask.Show();