Shared Preference modes getsharedPreferences(String name, int mode) getPreferences (int mode) Context MODE PRIVATE (or o o created file can be accessed only by the calling application o generally the only preference mode that you should use Context MODE WORLD READABLE (or 1, deprecated in API level 17) o other applications have read access to the created file Context MODE WORLD WRITEABLE (or 2, deprecated in API level 17) o other applications have write access to the created file ContextClassReferencehttp://developer.android.com/referencelandroid/content/context.html 11Shared Preference Modes • getSharedPreferences(String name, int mode) • getPreferences(int mode) • Context.MODE_PRIVATE (or 0) o created file can be accessed only by the calling application o generally the only preference mode that you should use • Context.MODE_WORLD_READABLE (or 1, deprecated in API level 17) o other applications have read access to the created file • Context.MODE_WORLD_WRITEABLE (or 2, deprecated in API level 17) o other applications have write access to the created file 11 Context Class Reference: http://developer.android.com/reference/android/content/Context.html