Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Directly open up the Play store rating screen from our app in android

Is it possible to directly open up the rating screen dialog of play store app of a particular appllication?

like image 340
Navya Ramesan Avatar asked Oct 09 '13 05:10

Navya Ramesan


People also ask

How do I put ratings on Play Store app?

Browse or search for the app you want to review. Find and select the app to open the detail page. To rate the app: Under “Rate this app," select the number of stars. To leave a review: Under the star rating, tap Write a review.

Why app reviews are not showing in Play Store?

if the user did not open the app at least two times in the first week of installation, the review will disappear. if the user install the app and review it before opening the app, the review will disappear.


1 Answers

Try this..

Uri uri = Uri.parse("market://details?id=" + context.getPackageName());
Intent goToMarket = new Intent(Intent.ACTION_VIEW, uri);
try {
  startActivity(goToMarket);
} catch (ActivityNotFoundException e) {
  Toast.makeText(context, "Couldn't launch the market", Toast.LENGTH_LONG).show();
}

Or

Intent intent = new Intent(Intent.ACTION_VIEW);                     
intent.setData(Uri.parse("market://details?id=Your Main Package Name"));
startActivity(intent);
like image 157
Hariharan Avatar answered Nov 03 '22 11:11

Hariharan