Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to integrate store review into an app on Windows Phone

From Wiki
Jump to: navigation, search
Featured Article
13 Oct
2013

This article shows how to integrate "rate application" ("marketplace review") functionality into a Windows Phone application.

Tip.pngTip: The Rate My App Library (github) makes it very easy to add marketplace review to your app. The library displays a review prompt for your app after it has been launched a specified number of times (if it was not rated previously). You can download the current version (1.0) including the guide or get it from Nuget (Search NuGet repositories for "RateMyApp")
This approach the simplest described in #Where to request/add marketplace review and will be appropriate for many apps.

Article Metadata
Code ExampleTested with
Devices(s): Windows Phone Emulator
Article
Created: pavan.pareta (05 Jul 2013)
Last edited: hamishwillee (21 Nov 2013)

Contents

Introduction

Applications with high ratings are move visible in the Windows Store, results in higher application downloads, and more revenue. As a result it is important to make it easy for users to rate your application.

This is done using the MarketplaceReviewTask Launcher, which is trivially easy to integrate into an app.

This article shows how you can add the launcher, and explains where and when you should make the feature accessible to users.


Implementation

To integrate the MarketplaceReviewTask launcher in your application follow the steps below. This can be added into any page in your application.

  1. Add the following Namespace
    using Microsoft.Phone.Tasks;
  2. Create an object of MarketplaceReviewTask class and call Show() method to show the Store client application and display the review page of your application. In this example I have used a button to show Store client application.
    private void btnRageMe_Click(object sender, RoutedEventArgs e)
    {
    MarketplaceReviewTask oRateTask = new MarketplaceReviewTask();
    oRateTask.Show();
    }

Note.pngNote: When testing on the Emulator, the user must sign-in using their Windows Live ID and your application must be in Marketplace to allow a review to be written (neither of which are an issue on a consumer device after the app has been released).

Where to request/add marketplace review

Satisfied or happy users may never think to rate your app, which can skew review results (since users tend to rate apps during uninstallation or if they are dissatisfied). Therefore it is often a good idea to additionally prompt the user to rate your app after they have used it a number of times. More complicated algorithms are also possible- for example prompting after periods of error free execution (it is not a good idea to ask for a rating immediately after they've just lost data!)

There are numerous ways to prompt the user to make this rating, ranging from a pop-up message box, to a status message link at the bottom of the app main page, or a "toast-like" message at the top. It's up to the developer to determine which approach will best resonate with the app's target audience. In any case, care should be taken to ensure that users are not spammed with messages to rate the app, especially after they have already done so.

In addition, it is recommended that you give the user the opportunity to comment at their convenience. A common approach is to include rating as part of the application "About page" (see Advanced About Page for Windows Phone apps, and shown below).

About page with rating option at bottom left

Download

Here is a complete source code - File:WmDev RateApp.zip

References

This page was last modified on 21 November 2013, at 02:46.
408 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×