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

Get Android™ Programming Unleashed 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.