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
efrancis
Posts: 19
Registered: ‎05-20-2008
My Device: 8800

Contact associated with PhoneCallLog

How could I get address book contact associated with the phone call log?
On "callLogAdded" event of PhoneLogListener, I wanted to know the address book contact of the called phone number.
Please use plain text.
Developer
mreed
Posts: 1,041
Registered: ‎07-16-2008
My Device: ಠ_ಠ
Please use plain text.
Developer
efrancis
Posts: 19
Registered: ‎05-20-2008
My Device: 8800

Re: Contact associated with PhoneCallLog

Thanks for the help.

 

I think it would be great help if we get some direct API from RIM to get the contact.

 

If we debug the calllog object it contains "_addressCardUid" in Participant object. If this will be exposed it would be much easier and faster.

 

Please use plain text.
Developer
efrancis
Posts: 19
Registered: ‎05-20-2008
My Device: 8800

Re: Contact associated with PhoneCallLog

NotificationsConstants contains a constant as CALLERID_ADDRESSCARD_UID

"Context key to indicate addresscard mapped to incoming message/call"

 

Anyone have used this? Is it going to help along with PhoneLogListener to get the address book contact of the call?

 

 

Please use plain text.