8. Address Book App

Objectives

In this chapter you’ll:

Image Use a ListFragment to display and manage a ListView.

Image Use FragmentTransactions and the back stack to dynamically attach Fragments to and detach Fragments from the GUI.

Image Create and open SQLite databases using a SQLiteOpenHelper, and insert, delete and query data in a SQLite database using a SQLiteDatabase object

Use a SimpleCursorAdapter to bind database query results to a ListView’s items.

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.