简体   繁体   中英

How to open windows phone market page of my app programmaticaly in Windows Phone 8.1?

In WP7 and WP8.1 Silverlight I do it with this code

MarketplaceHubTask task = new MarketplaceHubTask();
task.Show();

But how to do it in WP8.1 WinRT?

To link to your app's page in the store launch a ms-windows-store protocol targeting your app's ID from its Manifest.

Launcher.LaunchUriAsync(new Uri("ms-windows-store:navigate?appid=[your app ID]"));

See Link to your app in the Store in the Publish to the Windows Phone Store documentation for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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