HomeWindowsWindows Phone 8.1 and Windows Runtime Apps How to #10 – Launch Rate and Review Page from App

Windows Phone 8.1 and Windows Runtime Apps How to #10 – Launch Rate and Review Page from App

If you want to allow the user to launch the Windows Phone Store and display the rate and review page for the current app , you can use the Windows.System.Launcher.LaunchUriAsync method by passing the right handle .

In the Windows Phone 8 and earlier version , the developers could use the MarketplaceReviewTask but with Windows Phone 8.1 (Windows Runtime App) , the developers can utilize the Launcher class which allows the developers to use the LaunchUriAsync and launch the built-in apps .

How to Launch the Rate and Review Page from Windows Phone 8.1 App ?

Below is a sample code snippet that uses the Windows.System.Launcher.LaunchUriAsync method to launch the Rate and Review Page from the Windows Phone App.

async private void Button_Click(object sender, RoutedEventArgs e)
{
  await Windows.System.Launcher.LaunchUriAsync(
        new Uri("ms-windows-store:reviewapp?appid=" + CurrentApp.AppId));
}

image

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...