After using API Level 5, we can still only retrieve all contacts with a primary phone number only by:
But in API Level 5, there is a new table structure. That is all details information about the contacts can be retrieved by a batch (not one by one).
Contacts Retrieval (< Android 2.0). For 200+ contacts, it used about 1.3 second.By the contact ID obtained in the contact query and the contact ID from the phone query, we can group the phone numbers to be the details of contacts. This procedure is much faster than the method described in
Next: Load Contact Photo
Development Diary >