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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
sm3128
Posts: 7
Registered: ‎08-27-2008

how can i get the mobile number from PhoneCallLog object?

 
Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
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.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
02cp682
Posts: 80
Registered: ‎08-26-2008

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

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

 

Jeet Bhatt, India
Please use plain text.