Is it possible to directly open up the rating screen dialog of play store app of a particular appllication?
Asked
Active
Viewed 5,196 times
8
-
Does this answer your question? ["Rate This App"-link in Google Play store app on the phone](https://stackoverflow.com/questions/10816757/rate-this-app-link-in-google-play-store-app-on-the-phone) – Yoav Feuerstein May 25 '20 at 14:15
1 Answers
3
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);

Hariharan
- 24,741
- 6
- 50
- 54
-
3This would open the page of our app in play store. Then the user have to open the rating screen. I need the rating screen to be poped up . Is there a way to do this? – Navya Ramesan Oct 09 '13 at 06:27
-
@NavyaRamesan I don't think this is possible, you can't directly interact with the market and post a rating of your app. You can only open the rating-page of the market and let the user rate himself. – Hariharan Oct 09 '13 at 06:38
-
@NavyaRamesan The rating is done through market app so that ratings can be trusted. If apps were allowed to handle the rating themselves, then developer could increase his app's rating any time. So there is no way you can handle the rating yourself. You can prompt user to your app page on google play and ask him to rate your app for more support. – Hariharan Oct 09 '13 at 06:39
-
Refer the links also https://support.google.com/googleplay/android-developer/answer/188189?hl=en and http://developer.android.com/distribute/googleplay/publish/preparing.html#marketintent – Hariharan Oct 09 '13 at 06:39
-
Alright. But I don't need the rating to be done. Need to popup the rating dialog alone. Wondering if android provides some way to popup the rating screen itself. – Navya Ramesan Oct 09 '13 at 06:58
-
Is this still the case? I am pretty sure I have seen apps directing directly to the store and opening the rating screen. @NavyaRamesan have you found a solution for this in the meantime? – Madmenyo Feb 23 '16 at 10:26
-
-
you can find a more detailed answer here: https://stackoverflow.com/a/10816846/997940 – Yoav Feuerstein May 25 '20 at 14:15