Requesting user to rate/review/comment on Android Market

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.