Chapter 5. Persisting Data
Even in the midst of grand architectures put in place to shift as much user data into the cloud as possible, the transient nature of mobile applications will always require that at least some user data be persisted locally on the device. This data may range from cached responses from a web service guaranteeing offline access to preferences the user has set for specific application behaviors. Android provides a series of helpful frameworks to take the pain out of using files and databases to persist information.
5-1. Making a Preference Screen
You need to create a simple way to store, change, and display user preferences and settings within your application.
(API Level 1)
PreferenceActivity and an XML ...