On Jan 22, 1:21 pm, Miguel Paraz <[email protected]> wrote: > On Jan 16, 9:12 pm,MiguelParaz<[email protected]> wrote: > > > Hi, > > To pick phone number contacts, I can startActivity forACTION_PICKfor > > data content://contacts/people, I can use the MIME type > > vnd.android.cursor.dir/phone. > > > What MIME type is used for email addresses? > > Specifically: > If I use the Intent ACTION_PICK for content://contacts/phones > (Contacts.Phones.CONTENT_URI), the Contacts app is launched to show a > ListActivity that shows the name, the phone number and what type it is > (home, work, other). > > How can I launch the Contact app to choose email addresses? > Thanks.
I just checked the source code for the Contacts application, and it's not supported. For now, I'll work with the code in the Email application. But, the limitation of an AutoCompleteTextView is that - how do you choose an email address if you have no idea about what name to choose? Better to open a ListActivity and scroll through the list. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

