![]() |
Incoming call Responding 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 |
Re: Incoming call Responding How do you know it is not responding? If you are basing this on the fact that you don't see the dialog, this "Dialog.inform()" code will never happen because the execution context is the phone application, not your application. |
| All times are GMT -5. The time now is 06:34 PM. |
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.