[android-developers] Re: Retrieving Information from the ContactsContract API

2012-01-13 Thread Ali Chousein
All of the comments above are very informative and give good guidance. My 2 cents to this thread is: 1. You'll never understand an API thoroughly by just reading the documentation. No matter how good the documentation is, just reading it is never going to be enough. 2. No matter how

[android-developers] Re: Retrieving Information from the ContactsContract API

2012-01-12 Thread A. Elk
To retrieve something from the Contacts Provider, you need to use the content provider client class android.content.ContentResolver and its query() method. A query requires the *content URI* of the part of the provider you're trying to query, a *projection* (the list of columns you want to

[android-developers] Re: Retrieving Information from the ContactsContract API

2012-01-12 Thread A. Elk
Oops! I forgot to say that there's also a ContactsContract.Contacts.Entity class. You can use this to join contact to raw contacts to details. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to