View Single Post
Old 05-18-2012, 12:32 AM   #1 (permalink)
Arulselvam
New Member
 
Join Date: May 2012
Model: 9000
PIN: N/A
Carrier: -
Posts: 9
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default Incoming call Responding

Please Login to Remove!

Hi,

i have to develop BlackBerry Auto Responding call ,i have class which extends AbstractPhoneListener and also implements PhoneListener it does not responding incoming call please help me to resolve this problem.


The code i have used is below:

Phone.addPhoneListener(new AbstractPhoneListener(){
public void callIncoming(int callId) {
String number = Phone.getCall(callId).getPhoneNumber();
Dialog.inform("call incomming "+number);
sendSMS(number, "I am not available");
super.callIncoming(callId);
}
});
Regards,
Arulselvam.J
Offline   Reply With Quote