O'Reilly logo

Android™ for Programmers: An App-Driven Approach by Michael Morgano, Abbey Deitel, Harvey M. Deitel, Paul J. 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: ListActivity, AdapterViews, Adapters, Multiple Activities, SQLite, GUI Styles, Menu Resources and MenuInflater

Image

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

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