×
Namespaces

Variants
Actions
Revision as of 09:59, 4 October 2013 by hamishwillee (Talk | contribs)

How to integrate store review into an app on Windows Phone

From Nokia Developer Wiki
Jump to: navigation, search

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

Article Metadata
Code ExampleTested with
Devices(s): Windows Phone Emulator
Article
Created: pavan.pareta (05 Jul 2013)
Last edited: hamishwillee (04 Oct 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.

In order to write reviews the user must be logged in with their Windows Live ID.

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: With the above code you can open the MarketplaceReview client application. However the user must sign-in using their Windows Live ID and your application must be in Marketplace to allow writing a review.

Where to add rating

App rating can be linked from many places. 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

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 prompt the user to rate your app when metrics show that they've used your app frequently, or there has been a long period 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.

Download

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

References

460 page views in the last 30 days.