Partilhar via


URI schemes for launching built-in apps for Windows Phone 8

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

You can use the following code to test whether a device has Windows Phone 8 Update 3.

private static Version TargetedVersion = new Version(8, 0, 10492);
public static bool IsTargetedVersion
{
    get { return Environment.OSVersion.Version >= TargetedVersion; }
}

ms-settings-wifi:

Launches the Wi-Fi Settings app.

zune:navigate?appid=[app ID]

Launches the Windows Phone Store and shows the details page for the specified app.

zune:reviewapp

Launches the Store and shows the review page for the calling app.

zune:reviewapp?appid=app[app ID]

Launches the Store and shows the review page for the specified app. Note that you must prepend “app” to the ID for the specified app. For example, the URI for reviewing an app with the ID fdf05477-814e-41d4-86cd-25d5a50ab2d8 would be zune:reviewapp?appid=appfdf05477-814e-41d4-86cd-25d5a50ab2d8

zune:search?keyword=[search keyword]&publisher=[publisher name]&contenttype=app

Launches the Store and searches for the specified content. All parameters are optional. Specifying “contenttype=app” will limit the search to apps. Omitting this parameter will search all content.

zune:search?keyword=[search keyword]&contenttype=app

Launches the Store and searches for apps by keyword.

zune:search?publisher=[publisher name]

Launches the Store and searches for items by publisher name.

See Also

Other Resources

Auto-launching apps using file and URI associations for Windows Phone 8

Reserved file and URI associations for Windows Phone 8