O'Reilly logo

Android Programming Concepts by Trish Cornez, Richard Cornez

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

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 ...

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