BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 05-18-2012, 12:32 AM   #1 (permalink)
New Member
Join Date: May 2012
Model: 9000
Carrier: -
Posts: 9
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default Incoming call Responding

Please Login to Remove!


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");
Old 05-18-2012, 08:59 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default 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.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Incoming call Responding
Thread Thread Starter Forum Replies Last Post
I ditched the GPS-crippled Verizon for a Sprint 8830 - Here's the status so far... brittonx General Legacy Device Discussion 63 08-06-2007 08:00 AM
Incoming call rules (send caller direct to voice mail or another number) droidd General 8100 Series Discussion - Pearl 1 07-18-2007 10:47 AM
BES server that was configured at another site seems to require that site to work mannyp BES Admin Corner 7 07-05-2007 09:48 PM
8703e guide techman1 BlackBerry Guides 3 09-28-2006 10:24 AM
8703e guide and all other series of bb techman1 BlackBerry Guides 1 09-21-2006 10:12 PM

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.