O'Reilly logo

Android How to Program by Paul Deitel, Abbey Deitel, Harvey Deitel

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

10. Address Book App

Objectives

In this chapter you’ll:

• Extend ListActivity to create an Activity that consists of a ListView by default.

• Create multiple Activity subclasses to represent the app’s tasks and use explicit Intents to launch them.

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

• Use a Cursor to manipulate database query results.

• Use multithreading to perform database operations outside the GUI thread and maintain application responsiveness.

• Define styles containing common GUI attributes and values, then apply them to multiple GUI components.

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