Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 23
Registered: ‎01-01-2009
My Device: Not Specified

Is it possible to use BlackBerryContactList.choose to select a specific number?

I am using BlackBerryContactList.choose() to bring up the native address book so a user can select a contact.  Is it possible to have this dialog also let the user drill down and select a specific number (the way it works with the native messaging application, for example), or do I have to implement that dialog myself?

 

Thanks,

 

-- Henry

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Is it possible to use BlackBerryContactList.choose to select a specific number?

I had this also, and wound up just doing my own "number chooser" dialof implementation.

 

Once you have the contact object, you can iterate through the phone numbers an create a list. It also helps the user select the correct number if you retrieve the field labels from the contact (e.g. Mobile, Office, etc).