×
Namespaces

Variants
Actions
(Difference between revisions)

How to integrate store review into an app on Windows Phone

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix metadata)
hamishwillee (Talk | contribs)
m (Hamishwillee - Subedited/Reviewed)
Line 1: Line 1:
[[Category:Windows Phone]][[Category:Code Examples]][[Category:Platform Services]]
+
[[Category:Windows Phone]][[Category:Code Examples]][[Category:Platform Services]][[Category:App Marketing]]
{{Abstract|This article shows how to integrate 'rate application' functionality in your Windows Phone application.}}
+
{{Abstract|This article shows how to integrate "rate application" ("marketplace review") functionality in your Windows Phone application.}}
  
 
{{ArticleMetaData <!-- v1.3 -->
 
{{ArticleMetaData <!-- v1.3 -->
Line 25: Line 25:
 
== Introduction ==
 
== Introduction ==
  
Rating functionality is very important for any application; to increase the application popularity as well as increase the application downloads in Windows Store. {{Icode| MarketplaceReview}} Task is a part of Launchers, which is a managed API for Windows Phone application development. To write reviews of an application it is necessary to login with the Windows Live ID.
+
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 [http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.tasks.marketplacereviewtask(v=vs.105).aspx 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 ==
 
== Implementation ==
  
To integrate the {{Icode| MarketplaceReviewTask}} launcher in your existing application follow the below mentioned steps in the page where you want to integrate it in your application. It is very easy to integrate using [http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.tasks.marketplacereviewtask(v=vs.105).aspx MarketplaceReviewTask] class.
+
To integrate the {{Icode| MarketplaceReviewTask}} launcher in your application follow the steps below. This can be added into any page in your application.  
  
'''Step:-1''' Add the following Namespace
+
# Add the following Namespace
<code csharp>
+
#: <code csharp>
 
using Microsoft.Phone.Tasks;
 
using Microsoft.Phone.Tasks;
 
</code>
 
</code>
 
+
# Create an object of {{Icode|MarketplaceReviewTask}} class and call {{Icode|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.
'''Step:-2''' Create an object of {{Icode|MarketplaceReviewTask}} class and call {{Icode|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.
+
#: <code csharp>
 
+
<code csharp>
+
 
private void btnRageMe_Click(object sender, RoutedEventArgs e)
 
private void btnRageMe_Click(object sender, RoutedEventArgs e)
 
{
 
{
Line 46: Line 48:
 
</code>
 
</code>
  
'''Note''': With this above code you can open {{Icode|MarketplaceReview}} client application. However, not that you must sign-in using your Windows Live ID and your application must be in Marketplace to allow writing a review.
+
{{Note|With the above code you can open the {{Icode|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 ==
 
== Download ==

Revision as of 07:06, 12 July 2013

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 (12 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

466 page views in the last 30 days.