Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Phone 8.1 Store app - Link to store

In Windows 8.1 Apps we can link to store apps using ms-windows-store protocol.

var storeURI = new Uri("ms-windows-store:PDP?PFN=<package family name>");
await Windows.System.Launcher.LaunchUriAsync(storeURI);

Is there any similar ways in Windows Phone 8.1? I prefer not to link to the webpage of the app on the store (http://windowsphone.com/s?appId=appGUID) which then opens the app in the store. I want to directly open the app in the store.

like image 361
Reza Jooyandeh Avatar asked Sep 08 '14 21:09

Reza Jooyandeh


People also ask

Does Windows 8.1 have app Store?

When you're connected to the Internet, Windows 8.1 clients obtain updates to Microsoft Store apps directly from the Microsoft Store app. The Microsoft Store app is visible on the Windows Start screen.

Is Windows Phone app Store still working?

The Windows Phone Store officially shuts down today (via Neowin). Following the shutdown, you will no longer be able to download apps from the store. Windows Phone 8.1 has been out of official support for well over a year, but the shut down of the Windows Phone Store kills the operating system off even more.

How do I find the link to my Windows app?

Link to Windows on Android devices The Link to Windows app is preinstalled on select Samsung, HONOR, and Surface Duo devices that are running Android 9.0 or later. On such devices, you can find the Link to Windows app under the Quick Settings menu by swiping down from the top of your screen.


1 Answers

In Windows Phone 8.1, We can use ms-windows-store protocol to link to the store.

To detail page:

var uri = new Uri(string.Format("ms-windows-store:navigate?appid={0}", appid));
await Windows.System.Launcher.LaunchUriAsync(uri);

To review page:

var uri = new Uri(string.Format("ms-windows-store:reviewapp?appid={0}", appid));
await Windows.System.Launcher.LaunchUriAsync(uri);

To search page:

var uri = new Uri(string.Format(@"ms-windows-store:search?keyword={0}",keyword));
await Windows.System.Launcher.LaunchUriAsync(uri);
like image 168
Chris Shao Avatar answered Sep 19 '22 11:09

Chris Shao