|9||File Storage, Shared Preferences, and SQLite|
In this chapter you will:
Learn about data storage methods.
Understand use of Shared Preferences.
Learn how to insert data using key-value pairs.
Understand File-based Storage.
Understand the differences between internal storage and external storage.
Learn how to build applications using SQLite databases.
■ 9.1 Storing Data
Working with stored data is essential to Android applications. At the most rudimentary level, an application often stores information about a user’s preferences in order to provide a more sophisicated level of personalization and responsiveness. For example, a user can log into and out of an application, and the application will remember ...