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
Developer
Posts: 29
Registered: ‎09-23-2008
My Device: 8800

Weird!

Good Day,

 

I am writing an application, which accepts a name, and allows the user to make a call to that Contact object, if it exists in the Address Book.

 

However, if there are multiple names, what I would like to happen, is to display a list, with those matching names, and so on with phone numbers, till the user presses the call button. 

 

Stopping short of doing it all myself, is it possible to delegate this task to the Address Book, using the Invoke and AddressBookArguments class, which shows the "Find: " field already populated with the "name" string  I have passed?

 

I don't see a way yet, with the ARG_COMPOSE and ARG_NEW arguments, just thought i'll drop a line to see if there are any takers.

 

Cheers,

Nik.

Developer
Posts: 16,575
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Weird!

maybe BlackBerryContactList.choose(Contact previous, int type, boolean allowCrossService)
not sure what it returns but you can try
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter