Shared Preferences

SharedPreferences is an interface that an application can use to quickly and efficiently save data in name-values pairs, similar to a Bundle.The information is stored in an XML file on the Android device. For example, if the application com.cookbook.datastorage creates a shared preference, the Android system creates a new XML file under the /data/data/com.cookbook.datastorage/shared_prefs directory. Shared preferences are usually used for saving application settings such as user settings, theme, and other general application properties. It can also save login information such as username, password, auto-login flag and remember-user flag. The shared preferences data is accessible by every component of the application which created it.

Character Building Thought Power

Character Building Thought Power

Character-Building Thought Power by Ralph Waldo Trine. Ralph draws a distinct line between bad and good habits. In this book, every effort is made by the writer to explain what comprises good habits and why every one needs it early in life. It draws the conclusion that habits nurtured in early life concretize into impulses in future for the good or bad of the subject.

Get My Free Ebook

Post a comment