com.drismo.gui
Class AppRater

java.lang.Object
  extended by com.drismo.gui.AppRater

public class AppRater
extends java.lang.Object

AppRater promts prompts engaged users to rate your app in the Android market. It requires a certain number of launches of the app and days since the installation before the rating dialog appears.
Found at: http://www.androidsnippets.com/prompt-engaged-users-to-rate-your-app-in-the-android-market-appirater


Field Summary
private static int DAYS_UNTIL_PROMPT
           
private static int LAUNCHES_UNTIL_PROMPT
           
 
Constructor Summary
AppRater()
           
 
Method Summary
static void app_launched(android.content.Context mContext)
           
static void showRateDialog(android.content.Context mContext, android.content.SharedPreferences.Editor editor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAYS_UNTIL_PROMPT

private static final int DAYS_UNTIL_PROMPT
See Also:
Constant Field Values

LAUNCHES_UNTIL_PROMPT

private static final int LAUNCHES_UNTIL_PROMPT
See Also:
Constant Field Values
Constructor Detail

AppRater

public AppRater()
Method Detail

app_launched

public static void app_launched(android.content.Context mContext)

showRateDialog

public static void showRateDialog(android.content.Context mContext,
                                  android.content.SharedPreferences.Editor editor)