-
Notifications
You must be signed in to change notification settings - Fork 0
Preferences
pads edited this page May 27, 2011
·
2 revisions
- Preferences are defined in preferences.xml
- Can nest preference screens (e.g. a main basic prefs screen contains a nested "advanced" prefs screen)
- Preference types for text/password/checkbox/radio
- Activity can implement OnSharedPreferenceChangeListener and register to be notified when preferences are changed
- More complex data structures can be stored in an sqlite database. Any app can create an sqlite database
- Access preference values using SharedPreferences accessed via PreferenceManager utility class
Checkout the Preferences folder.