Using Preferences

  • Grant Allen


In the previous chapters you learned how to store, modify, and retrieve information from the Android file system and using SQLite databases. Android has multiple ways of storing information that suit many different purposes and goals. One of the simplest pieces of information you may want to store on behalf of your users is a simple preference or option setting. For instance, you may want to store a preference for date format, or a nickname in a chat program.


Preference Header Child Element Setter Call Resource File Preference Resource 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material (5.9 mb)
Ch19 (zip 5992 kb)

Copyright information

© Grant Allen 2015

Authors and Affiliations

  • Grant Allen
    • 1
  1. 1.LondonUK

Personalised recommendations