BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-17-2012, 11:32 PM   #1
Arulselvam
New Member
 
Join Date: May 2012
Model: 9000
PIN: N/A
Carrier: -
Posts: 9
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  
Old 05-18-2012, 07:59 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 07:00 AM
Incoming call rules (send caller direct to voice mail or another number) droidd General 8100 Series Discussion - Pearl 1 07-18-2007 09: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 08:48 PM


6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59



CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$123.45



6.3V~450V 10uF~10000uF High Frequency LOW ESR Radial Electrolytic Capacitor picture

6.3V~450V 10uF~10000uF High Frequency LOW ESR Radial Electrolytic Capacitor

$47.28



35+5 35/5  uF MFD 370-440 V AC (10x) High Quality  Dual Run Capacitor CBB65-R picture

35+5 35/5 uF MFD 370-440 V AC (10x) High Quality Dual Run Capacitor CBB65-R

$68.25



1/5/10pcs 100V~400V 0.1uF~20uF MKP Audio Metallized Polypropylene Film Capacitor picture

1/5/10pcs 100V~400V 0.1uF~20uF MKP Audio Metallized Polypropylene Film Capacitor

$39.42



40+5 40/5 uF MFD 370-440V AC High Quality Motor Dual Run Capacitor CBB65-R (10x) picture

40+5 40/5 uF MFD 370-440V AC High Quality Motor Dual Run Capacitor CBB65-R (10x)

$72.45







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.