Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 27. Exploring the Contacts API

Chapter 27. Exploring the Contacts API

In Chapter 4, which covered content providers, we listed the benefits of exposing data through content provider abstraction and showed that such abstracted data is exposed as a series of URLs that can be used to read, query, update, insert, and delete. These URLs and their corresponding cursors become the API for that content provider.

The Contact API is one such content provider API for working with the contact data. Contacts in Android are maintained in a database and exposed through a content provider whose authority is rooted at


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint