10. Using Android Data and Storage APIs
Applications are about functionality and data. In this chapter, we explore the various ways you can store, manage, and share application data with Android. Applications can store and manage data in different ways. For example, applications can use a combination of application preferences, the file system, and built-in SQLite database support to store information locally. The methods your application uses depend on your requirements. In this chapter, you learn how to use each of these mechanisms to store, retrieve, and interact with data.
Working with Application Preferences
Many applications need a lightweight data storage mechanism called shared preferences for storing application state, simple user ...