9 | File Storage, Shared Preferences, and SQLite |
Chapter Objectives
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 ...
Get Android Programming Concepts now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.