To open the Windows Store page for the current app, we generally use code like this:
MarketplaceDetailTask marketPlaceDetailTask = new MarketplaceDetailTask();
marketPlaceDetailTask.Show();
But how to open the Windows Store page for another published product? Am I right if I call something like that:
var success = Windows.System.Launcher.LaunchUriAsync(new Uri("http://www.windowsphone.com/s?appid=d1a235ce-...-040e"));
or that:
WebBrowserTask task = new WebBrowserTask();
task.URL = "http://www.windowsphone.com/s?appid=d1a235ce-...-040e";
task.Show();
Is there a dedicated task like MarketplaceDetailTask to open the specific product page?
Just use the MarketplaceDetailTask
with the guid of the app you want to show
var marketplaceDetailTask = new MarketplaceDetailTask();
marketplaceDetailTask.ContentIdentifier = "d1a235ce-...-040e";
marketplaceDetailTask.ContentType = MarketplaceContentType.Applications;
marketplaceDetailTask.Show();