Hi.
Linking to the Windows Store, either to display the review page for our app or to display all apps we have related, is a common practice.
The MarketPlaceTask was the way to accomplish this in Windows Phone 8 (don't know about Windows 8), but in 8.1 this has been removed and instead we have to launch Uris using the appropriate scheme. These don't seem to be compatible between Windows and Windows Phone though. What I have found out is that:
For Windows Phone:
Open our app's page in the Store app:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:reviewapp?appid=" + Windows.ApplicationModel.Store.CurrentApp.AppId));
Search for app by specific publisher and display results in the Store app:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:search?publisher=Spyros Paraschis"));
For Windows:
Review app:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:REVIEW?PFN=" + Windows.ApplicationModel.Package.Current.Id.FamilyName));
However, I couldn't find a way to search for apps by a specific publisher. I tried the following, but it didn't work; the Store app opened, but no search was conducted:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:search?publisher=Microsoft"));
Does anybody know what is the correct syntax for performing a programmatic search in Windows Store?
Linking to the Windows Store, either to display the review page for our app or to display all apps we have related, is a common practice.
The MarketPlaceTask was the way to accomplish this in Windows Phone 8 (don't know about Windows 8), but in 8.1 this has been removed and instead we have to launch Uris using the appropriate scheme. These don't seem to be compatible between Windows and Windows Phone though. What I have found out is that:
For Windows Phone:
Open our app's page in the Store app:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:reviewapp?appid=" + Windows.ApplicationModel.Store.CurrentApp.AppId));
Search for app by specific publisher and display results in the Store app:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:search?publisher=Spyros Paraschis"));
For Windows:
Review app:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:REVIEW?PFN=" + Windows.ApplicationModel.Package.Current.Id.FamilyName));
However, I couldn't find a way to search for apps by a specific publisher. I tried the following, but it didn't work; the Store app opened, but no search was conducted:
await Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:search?publisher=Microsoft"));
Does anybody know what is the correct syntax for performing a programmatic search in Windows Store?