How can I get the email address from a cursor on People.CONTENT_URI?
Cursor c = getContentResolver().query(People.CONTENT_URI,
null, null, null, People.NAME + " ASC");
I need to access email address of the people in Contacts.
Thanks
On Apr 5, 10:22 pm, Maxim Yudin <[EMAIL PROT
Thanks a lot :)
--~--~-~--~~~---~--~~
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
[EMAIL
I also meet the similar problem with
Contacts.ContactMethods.CONTENT_EMAIL_URI, but it works fine with
Contacts.ContactMethods.CONTENT_URI. My code is:
Uri uri = Contacts.ContactMethods.CONTENT_URI;
String selection = Contacts.ContactMethods.KIND + "=" +
Contacts.ContactMethods.EMAIL_KIND
Cursor c
3 matches
Mail list logo