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

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...