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: 7
Registered: ‎08-27-2008
My Device: Not Specified

how can i get the mobile number from PhoneCallLog object?

 
BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: how can i get the mobile number from PhoneCallLog object?

The getParticipant() of PhoneCallLog returns a PhoneCallLogID, which contains information about the caller including the number.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 80
Registered: ‎08-26-2008
My Device: 8800, 8100

Re: how can i get the mobile number from PhoneCallLog object?

PhoneCallLogID phoneID = callLog.getParticipant(); contactNo = phoneID.getNumber();

 

Jeet Bhatt, India