How to contact Android Marketplace Review from the app?

I want to link to the Android Marketplace from my application so that I can send my user to write a review. I already know how to connect to the Android Marketplace using WebView, but in fact this does not allow the user to write a review. I need to open the Marketplace on the device and go to the purchase / view page for the application.

+8
android sdk google-play hyperlink in-app
source share
3 answers

Similar to the response timeline, but it will lead the user directly to your application (and not to the search results.

Read more about Market Intent here .

Uri marketUri = Uri.parse("market://details?id=" + getPackageName()); startActivity(new Intent.ACTION_VIEW).setData(marketUri); 

(Note. It is assumed that your activity is in the same package that is specified in the application manifest. Otherwise, just copy your package instead of getPackageName() )

Change The documentation has moved to Contacting your products . Thanks Chris Sirefis

+13
source share
  String myUrl = "market://search?q=pname:com.your.package.name"; Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(myUrl)) ; startActivity(i); 

This will open the Market app on the device and show the page of your app (or any app for which you give the package name). As far as I know, your user will have to from there from there, I do not think that in any case you can go to the reviews section.

+3
source share

Here is how I did it:

 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=your.package.name"))); 
+1
source share

All Articles