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 01:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.