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
javec
Posts: 445
Registered: ‎07-15-2008
My Device: Not Specified

Detect name of caller

Hello,

I found the getDisplayPhoneNumber() API to get the number of the caller: 

 

net.rim.blackberry.api.phone.PhoneCall.getDisplayPhoneNumber()

 

Now my question: is there a way to detect if the caller is in the addressbook (if the caller has a name) or if the number is unknown?

 

Thank you! 

If your question was answered, please accept it as a sollution and / or give Kudos ;-)
______________________________
Use the Search Field first! Maybe the question you want to ask already exists!
Developer
kzettel
Posts: 120
Registered: ‎07-16-2008
My Device: 9000

Re: Detect name of caller

It was recommended in an earlier post that the fastest way was to lookup the contact by the last 4 digits and then programatically look through the results.
Kurt Zettel | Chief Architect | Metova
www.metova.com