Is there a way I can request user for a rating/review/comment for the application from within the application (Activity).
One option I can think is to create a link in the application to Android market where user can enter review/rating/comment. What I am looking is to allow the user to do this without leaving the application.
Also, I need to find out if the user has already reviewed. (Which case, I may choose to change the link to 'Revise the review' instead of 'Add a review').
Is this possible?
Alternatively, if I redirect to the market page, is it possible to take the user straight to the review section (not top of page)
I wrote a simple library to do that.
It is called AppRate and you can find it on GitHub here.
Features:
- Do not prompt the user if the app has crashed once.
- Decide exaclty when to prompt the user. (number of launches ...)
- Customize the rate dialog to fit your application design.
Usage example:
It is very easy to install and use:
Drop the jar in your libs
folder.
Then include the following code in the onCreate
method of your MAIN
activity.
new AppRate(this)
.setShowIfAppHasCrashed(false)
.setMinDaysUntilPrompt(0)
.setMinLaunchesUntilPrompt(20)
.init();
- This code will show a default rate dialog after 20 launches.
- It will be shown only if the app has never crashed.
- The rate button points to your application in the Google Play Store.
I hope this can help you. :)
No. Currently the only thing you can do is direct the user to the market to rate or leave a comment. Hopefully they will build a market api in the future that will allow better app-market interaction.
There are several services available now in the market like : apptentive, helpshift, polljoy. Using such service can do more than just rating prompt such like user feedback and in-app survey.
精彩评论