wp7appdevelopment
Adventures in Windows Phone app development
Monthly Archives: May 2014
Windows Phone 8.1 Universal Apps: searching, viewing, and rating apps in the store
May 12, 2014
Posted by on I’m porting a Windows Phone 8 app to a universal Windows App, and I was looking for the equivalents for MarketplaceSearchTask and MarketplaceDetail Task. Here’s what I found worked for me:
- Searching in the store:
Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:search?keyword=MyKeyword&contenttype=app"));
note: it might be possible to also use the ‘publisher=’ search clause, but I didn’t test this
- Going to the Rate & Review page for an app:
Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:reviewapp?appid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"));
note: if you leave off the ‘appid=’, it should take you to the rate&review page for the current app. But I couldn’t test this because my app isn’t currently published.
- Going to the page for a specific app in the store:
Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:navigate?appid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"));