BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-06-2008, 04:36 AM   #1 (permalink)
New Member
 
Join Date: Jun 2008
Model: 8300
PIN: N/A
Carrier: cingular
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Speaker phone is on when we are using event injector

Please Login to Remove!

Hi,

I am developing one blackberry application.In that application we have to intercept the calls made by the user, disconnect the call and route the call to some other number.

The application is working but I have a problem.Once i intercept the call(disconnect the call programmatically), the speaker phone gets activated.
After that i am not able to turn off the speaker phone.

Does anybody has an idea to tackle this problem??

Even though i press the speaker phone button, it's not turning off..

Actual code for disconnecting the call

EventInjector.KeyCodeEvent pressEndKey=new EventInjector.KeyCodeEvent(KeyCodeEvent.KEY_DOWN,( char)Keypad.KEY_END,KeypadListener.STATUS_NOT_FROM _KEYPAD,100);
EventInjector.KeyCodeEvent releaseEndKey=new EventInjector.KeyCodeEvent(KeyCodeEvent.KEY_UP,(ch ar)Keypad.KEY_END,KeypadListener.STATUS_NOT_FROM_K EYPAD,100);
EventInjector.invokeEvent(pressEndKey);
EventInjector.invokeEvent(releaseEndKey);

Please help me in this regard
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

FANUC ROM/RAM MEMORY BOARD A16B-1210-0470/03B
$49.95
FANUC ROM/RAM MEMORY BOARD A16B-1210-0470/03B pictureHP t5745 Thin Client 1.66GHz, 2GB Flash 2GB Ram HP REFURB BOXED H1T61UC#ABA
$165.0
HP t5745 Thin Client  1.66GHz, 2GB Flash 2GB Ram HP REFURB BOXED H1T61UC#ABA pictureHP t5745 Thin Client 1.66GHz, 2GB Flash 2GB Ram - no AC Adapter 686619-001
$60.0
HP t5745 Thin Client  1.66GHz, 2GB Flash 2GB Ram - no AC Adapter 686619-001 pictureIBM AnyPlace Kiosk POS 4838-137 Celeron M 1.3GHz, 512MB RAM, 17" Touchscreen
$29.99
IBM AnyPlace Kiosk POS 4838-137 Celeron M 1.3GHz, 512MB RAM, 17IBM AnyPlace Kiosk POS 4836-135 Celeron M 1.3GHz 1GB RAM 15" Touchscreen Pics
$29.99
IBM AnyPlace Kiosk POS 4836-135 Celeron M 1.3GHz 1GB RAM 15






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