BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-29-2008, 10:47 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 7100T
PIN: N/A
Carrier: tmobile
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default method callDisconnected( int callId) in a PhoneListener

Please Login to Remove!

I implemented the PhoneListener interface. Initially, it works fine. When simulating any phone call, the method callConnected is entered, and I can retrieve a handle to the phone call information as in the code below:
PHP Code:
public void callConnected(int callId) {
    
PhoneCall phoneCall Phone.getCallcallId);
        ....

When simulating the end of a phone call, the method callDisconnected is entered. However, no matter how simple I make the example, the retrieved handle (as in the code below) to the desired PhoneCall object is always null.

PHP Code:
public void callDisconnected(int callId) {
    
PhoneCall phoneCall Phone.getCallcallId);
        ....

Am i trying to get this data in the wrong way? Should I keep track of the callId's and the corresponding PhoneCall objects myself?

I hope someone can point me in the right direction...
Offline  
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

200 - 200 OHM DUAL 2 WATT POTENTIOMETER CTS SD ADJ/LOCKING 1 PCS NOS
$9.95
200 - 200 OHM DUAL 2 WATT POTENTIOMETER CTS  SD ADJ/LOCKING 1 PCS  NOS pictureCLAROSTAT RA30 1000 OHM WIRE WOUND 4 WATT POTENTIOMETER SD ADJUST NOS
$12.95
CLAROSTAT RA30 1000 OHM   WIRE WOUND  4 WATT POTENTIOMETER  SD ADJUST  NOS pictureBOURNS 3862C-287-103A 10K OHM MINIATURE CERMET POTENTIOMETER 1/2"OD NOS
$3.95
BOURNS 3862C-287-103A 10K OHM MINIATURE CERMET POTENTIOMETER 1/2Honeywell S963B1136 Manual Potentiometer 270 Ohm NIB
$34.95
Honeywell S963B1136 Manual Potentiometer 270 Ohm NIB pictureVita-Mix 15955 Potentiometer
$40.49
Vita-Mix 15955 Potentiometer picture






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