concept contact database in category android

appears as: contacts database
Android in Action, Third Edition

This is an excerpt from Manning's book Android in Action, Third Edition.

You can see exactly how the data is stored by querying the contacts database. See chapter 5 if you need a review of using the sqlite3 tool, with which we’ll query the tables that were created when adding the initial three contacts. In figure 15.4, we connect to the sqlite database stored at /data/data/com.android.providers.contacts/databases/contacts2.db. Querying the data table returns the individual pieces of contact information on the device. The contacts table includes individual contact entities. Joining these two tables results in the information visible in the Contacts application.

Figure 15.4. Querying the contacts database
Figure 15.4. Querying the contacts database
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest