The contacts content provider is quite complex, with three "tables" for contact' raw contact and data. I suggest you read the long explanation of it in developer.android.com there the answers to your questions are provided, with a number of constants for Uris and also field names.
BTW: be sure to filter only VISIBLE group contacts in the query or you will get contacts not visible to the user in their phone. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.