O'Reilly logo

Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and Android by Michael Eierman, Jakob Iversen

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

Creating the Database

The MyContactList app uses a simple, one table database to provide the data storage and manipulation functionality described in Chapter 2, “App Design Issues and Considerations.” Two new classes will be created to provide the database functionality. One class is used to create, modify, and delete the tables included in the database. The other class is used for data access. It provides methods to open and close the database and the queries used to store, access, and manipulate the data in the tables. The focus in this chapter is to make the ContactActivity able to store a contact’s data. Retrieval and manipulation of that data is introduced in later chapters.

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