How to open the Windows Store page for a specific WP app from a WP8 app (MarketplaceDetailTask?) -
To open the Windows Store page for the current app, we usually use code like this:
MarketplaceDetailTask MarketplaceExpositionTask = New MarketExtensionTask (); MarketPlaceDetailTask.Show ();
But how can the Windows Store page open for any other published product? Am I correct if I make some calls like this:
high success = Windows.System.Launcher.LaunchUriAsync (new URI ("http : // www? .windowsphone.com / s APPID = d1a235ce -... 040e "));
or:
Web browser task assignment = new webbrowserTask (); Task.URL = "http://www.windowsphone.com/s?appid=d1a235ce-...-040e"; Task.Show ();
Is there a dedicated task like MarketplaceDetailTask to open a specific product page?
just use MarketplaceDetailTask
, which you want to show
var marketplaceDetailTask = new MarketplaceDetailTask () with the application grid; MarketplaceDetailTask.ContentIdentifier = "d1a235ce -... 040e"; MarketplaceDetailTask.ContentType = MarketplaceContentType.Applications; MarketplaceDetailTask.Show ();
Comments
Post a Comment