GithubHelp home page GithubHelp logo

android-ratethisapp's Introduction

Android-RateThisApp

Android-RateThisApp is an library to show "Rate this app" dialog.

Screen shot

The library monitors the following status

  • How many times is the app launched
  • How long days does it take from the app installation

and show a dialog to engage users to rate the app in Google Play.

How to use

Download

git clone git://github.com:kskkbys/Android-RateThisApp.git

Setting on Eclipse

Import Android-RateThisApp/library in Eclispe. Then, link your application project with this library.

Implementation

Call RateThisApp.onStart(Context) and RateThisApp.showRateDialogIfNeeded(Context) in your launcher activity's onStart() method.

@Override
protected void onStart() {
    super.onStart();

    // Monitor launch times and interval from installation
    RateThisApp.onStart(this);
    // If the criteria is satisfied, "Rate this app" dialog will be shown
    RateThisApp.showRateDialogIfNeeded(this);
}

Custom criteria

The default criteria to show the dialog is as below:

  • App is launched more than 10 times
  • App is launched more than 7 days later than installation.

If you want to use your own criteria, please edit constants in RateThisApp.java.

Contribute this project

If you want to contribute this project, please send pull request. In present, I need contributors who can translate resources from English/Japanese into Spanish, Chinese and other languages.

License

This software is licensed under Apache License 2.0

Author

Keisuke Kobayashi - [email protected]

android-ratethisapp's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.