O'Reilly logo

Android™ Programming Unleashed by B.M. Harwani

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 8. Using Databases

In This Chapter

Using SQLiteOpenHelper

• Fetching Desired Rows from Data Tables

Using Cursors

Accessing Databases Through the ADB

Accessing Databases Through Menus

• Creating Data Entry Forms

Displaying Table Rows Via ListView

User-entered data needs to be saved somewhere so that it can be accessed at a later time. Android offers the SQLite relational database library for persisting data. It’s an open-source, lightweight, and powerful database available in the form of a C library. It uses SQL (Structured Query Language) for storing and retrieving information and performing database maintenance. SQLite is extremely reliable and is popularly used in devices with restricted computing power. Through SQLite, ...

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