×
Namespaces

Variants
Actions
Revision as of 08:09, 17 July 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 in your Windows Phone application.

Article Metadata
Code ExampleTested with
Devices(s): Windows Phone Emulator
Compatibility
Platform(s): Windows Phone 7.5 and Windows Phone 8
Article
Created: pavan.pareta (05 Jul 2013)
Last edited: hamishwillee (17 Jul 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 provide easy mechanisms 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 the 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 you must sign-in using your Windows Live ID and your application must be in Marketplace to allow writing a review.

Download

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

References

467 page views in the last 30 days.