(Advanced tutorial for Android experts (7) -- The use of Android Preferences pdf. This section is about learning Android Preferences. Preferences are used to record usage and user Preferences in Android. It can be used to save simple data types, such as Int, Double, Boolean, etc. The data saved in Preferences can be interpreted as Map type. You can get it through the PreferenceManager and getDefaultSharedPreferences (Context). For example, if you want to get an integer, you can use getInt (Stringkey, intdefVal) Get a key value inside. When you want to repair it, you can use putInt (Stringkey, intnewVal), and finally use edit () to submit! Don't forget the following attachments:
Codefins Advanced Course for Android Masters (7) -- Use of Preferences in Android. pdf
.....)