[android-developers] Re: Getting e-mail of selected person in Contacts

2008-05-15 Thread Chintan
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

[android-developers] Re: Getting e-mail of selected person in Contacts

2008-04-05 Thread Maxim Yudin
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

[android-developers] Re: Getting e-mail of selected person in Contacts

2008-04-05 Thread tu
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