8.1. Introduction

The Address Book app (Fig. 8.1) provides convenient access to contact information that’s stored in a SQLite database on the device. You can scroll through an alphabetical contact list and can view a contact’s details by touching the contact’s name.

Image

a) Contact list with Paul selected

Image

b) Details for the contact Paul

Fig. 8.1 | contact list and a selected contact’s details.

When a contact’s details are displayed, touching edit () displays a Fragment containing prepopulated EditTexts for editing the contact’s data (Fig. 8.2), and ...

Get Android™ How to Program, Second Edition 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.