List of usage examples for android.content Context getSharedPreferences
public abstract SharedPreferences getSharedPreferences(File file, @PreferencesMode int mode);
From source file:Main.java
public static boolean getFirstRun(Context context) { return context.getSharedPreferences("com.yugy.twentyonedays", Context.MODE_PRIVATE).getBoolean("firstRun", true);/*from w w w. ja v a 2 s. c o m*/ }
From source file:Main.java
private static final SharedPreferences getSharedPreference(Context context) { return context.getSharedPreferences(EASY_SOCIAL_FACEBOOK_PREFERENCE_NAME, Context.MODE_PRIVATE); }
From source file:Main.java
private static SharedPreferences getMultiDexPreferences(Context context) { return context.getSharedPreferences(PREFS_FILE, Context.MODE_MULTI_PROCESS); }
From source file:Main.java
private static final SharedPreferences getSharedPreference(Context context) { return context.getSharedPreferences(EASY_SOCIAL_FITBIT_PREFERENCE_NAME, Context.MODE_PRIVATE); }
From source file:Main.java
private static SharedPreferences getSharedPreferences(Context context) { return context.getSharedPreferences(cheramiPackageURL, Context.MODE_PRIVATE); }
From source file:Main.java
private static SharedPreferences getPreference(Context ctx) { return ctx.getSharedPreferences(SHARE_NAME, Context.MODE_PRIVATE); }
From source file:Main.java
private static SharedPreferences prefs(Context context) { return context.getSharedPreferences(ACCOUNT_PREFS, Context.MODE_PRIVATE); }
From source file:Main.java
public static SharedPreferences getSharedPreferences(Context ctxt) { return ctxt.getSharedPreferences("MyPrefsFile", 0); }
From source file:Main.java
public static SharedPreferences getSharedPreference(Context context) { return context.getSharedPreferences(PRFERENCE_NAME_USER, Context.MODE_PRIVATE); }
From source file:Main.java
private static SharedPreferences getPrefs(Context context) { return context.getSharedPreferences(GENERAL_PREFS_ID, Context.MODE_PRIVATE); }