9.1 Introduction

The Address Book app (Fig. 9.1) provides convenient access to contact information that’s stored in a SQLite database on the device. You can:

Fig. 9.1 Contact list and a selected contact’s details

Two screenshots display the list of contacts and the details after a contact is selected.
  • scroll through an alphabetical contact list

  • view a contact’s details by touching a contact’s name in the contact list

  • add new contacts

  • edit or delete existing contacts.

The app provides a separate tablet layout (Fig. 9.2) that always displays the contact list in one third of the screen and uses the screen’s remaining two thirds to display either the selected contact’s data or the screen for adding and ...

Get Android How to Program, 3/e 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.