Helpful Information
 
 
Category: BlackBerry Development
Incoming call details from BlackBerry

Hello Friends,
I am trying to develop an application that will provide the details about the incoming and outgoing call from the blackberry CDMA and GSM devices.
The main problem that I am facing is that when I call the incoming function then everytime the outgoing function calls and I am not getting the desired output.
So,anyone out there have any solution for this problem,please provide me as soon as possible and I am also attaching the snippet as to show my approach.

if (call.getStatus() == PhoneCallLog.TYPE_RECEIVED_CALL) {
add(new RichTextField("Call is Incoming"));
String str = Phone.getDevicePhoneNumber(true);
String str1 = call.getDisplayPhoneNumber();
add(new RichTextField("Caller party number is: " + str));
add(new RichTextField("Called party number is: " + str1));
}
with regards,
Aagrah Mandloi










privacy (GDPR)