I think the PICK activity only returns the ID of the contact picked. >From that you could query the Contact provider and if there are multiple phone numbers, prompt the user to select one of them.
On Jun 21, 1:00 am, Jaap <[email protected]> wrote: > Hi, > > In my app I want to have the user selecting a telephone number from > the contacts list. How do I do that. > > Selecting a contact is easy: > Intent intent = new Intent(Intent.ACTION_PICK); > intent.setType(ContactsContract.Contacts.CONTENT_TYPE); > startActivityForResult(intent, PICK_CONTACT); > > Is there also an easy way to first see the contact list and then see > the telephone numbers of that contact and in the end return the > telephone number to my app that the user selected. > > Thanks > > Jaap -- 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

