Alex Rivera | Logout

Selecting a number from user with multiple numbers when using the contact picker

Asked 2011-05-30T00:25:47.143
13

I'm trying to allow a user to select a phone number from a contact using the contact picker. However, right now all the examples I see online show how you can select a contact, but I am hoping to have a second screen then pop up if that contact has multiple phone numbers so you can specify which one you want to select (the way that text message lets you do so when you select a contact).

My question is, do you have to gather all of the numbers and then ask the user to select a number, or is this functionality already built into Android? I'm hoping I just forgot a flag or something.

Edit
Report

1 Answer

3

Just in case someone stumbles across this again.

Another alternative to the other answers is the library https://github.com/codinguser/android_contact_picker

Full Disclosure: I am the author of this library

answered 2011-12-05T15:52:22.407

Your Answer