Reputation: 48232
I know how to invoke Google Play from my application from the code. However, it starts the main page on Google Play from my application. From that the user may want to go to add rating, but is there a more direct way?
Like, can I have in my app a button 'Hated it' which will result in 1 star being posted on Google Play for my app and a button 'Loved it' which will result in 5 stars?
Upvotes: 1
Views: 1167
Reputation: 4812
Android applications have to be rated by the user inside the Google Play Store. The best you can do is to redirect the user to your application's Google Play page.
Therefore, it's not possible for you to implement a simple way for the user to grant you a 1 to 5 star rating directly inside your application.
Upvotes: 1
Reputation: 4817
What I did in my App was to show the user a dialog after the app was started a few times, say 15 times or something like that (If your users use the app a lot, it would be more probably that they rate it good, because they are using the app, so do not ask them in the first days of use). What the dialog shows is a text where you ask the user to rate the app, ignore, etc. If they press "rate" and they are linked to the google play they may rate the app, because they already decided to rate it pressing the button from your dialog. I do not know there is a "direct" method to do this like you are thinking. Try my method instead.
See my example Code Example
Upvotes: 3