O'Reilly logo

Pro Android 2 by Dave MacLean, Satya Komatineni, Sayed Y. Hashimi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Managing and Organizing Preferences

Like many other SDKs, Android supports preferences. Generally speaking, it tracks preferences for users of an application as well as the application itself. For example, a user of Microsoft Outlook might set a preference to view e-mail messages a certain way, and Microsoft Outlook itself has some default preferences that are configurable by users. But even though Android theoretically tracks preferences for both users and the application, it does not differentiate between the two. The reason for this is that Android applications run on a device that is generally not shared among several users; people don't share cell phones. So Android refers to preferences with the term application preferences

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required