Re: [android-developers] Contacts code examples in 2.0

2009-11-07 Thread Dmitri Plotnikov
Hi Ravi, It is important to understand that when you read any Data row, the corresponding Contact data is joined with it, so when you read an email address or a phone number you also have access to DISPLAY_NAME and other stuff like STARRED as well as the latest social status update and availabilit

[android-developers] Contacts code examples in 2.0

2009-11-07 Thread Ravi
Please post if you have any. I am searching all across to understand the new API but not much to go by: 1: Get a cursor that gives all: - ContactID, Name, Phone Number, Phone Type (or some other way to get this information) 2: Get name by phone number 3: Get a cursor that gives: contact_id, (orga