BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-01-2008, 03:27 AM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to invoke Speakerphone?

Please Login to Remove!

I want to invoke speakerphone from my application when a call is connected.

I tried Event injection:

Code:
EventInjector.KeyCodeEvent pressEndKey = new EventInjector
.KeyCodeEvent( KeyCodeEvent.KEY_DOWN, (char)Keypad
.KEY_SPEAKERPHONE, KeypadListener.STATUS_NOT_FROM_KEYPAD, 100);

EventInjector.KeyCodeEvent releaseEndKey = new EventInjector
.KeyCodeEvent( KeyCodeEvent.KEY_UP, (char)Keypad
.KEY_SPEAKERPHONE, KeypadListener.STATUS_NOT_FROM_KEYPAD, 100);

EventInjector.invokeEvent(pressEndKey);
EventInjector.invokeEvent(releaseEndKey);
But its invoking the option MUTE instead of speakerphone....

Please suggest a solution to invoke speakerphone....
Offline  
Old 05-05-2008, 03:00 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

In all BB devices there is a dedicated Speakerphone key...


When my application is in foreground, if someone press that key there is no effect(when the call is connected)..

Can anyone tell me a method to invoke speakerphone from my application

(Key is different for each type of devices)
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

1PC Samsung 12.1-inch LCD Screen LTM121SI-T01
$110.0
1PC Samsung 12.1-inch LCD Screen LTM121SI-T01 picture4000 pcs 100nF 104K 3216 SMD Capacitor Ceramic JB JIS B 50V SAMSUNG CHIP 0.1uF
$62.48
4000 pcs 100nF 104K 3216 SMD Capacitor Ceramic JB JIS B 50V SAMSUNG CHIP 0.1uF picture500 pcs 100nF 104K 3216 SMD Capacitor Ceramic JB JIS B 50V SAMSUNG CHIP 0.1uF
$8.65
500 pcs 100nF 104K 3216 SMD Capacitor Ceramic JB JIS B 50V SAMSUNG CHIP 0.1uF picture200 pcs 100nF 104K 3216 SMD Capacitor Ceramic JB JIS B 50V SAMSUNG CHIP 0.1uF
$5.48
200 pcs 100nF 104K 3216 SMD Capacitor Ceramic JB JIS B 50V SAMSUNG CHIP 0.1uF picture4000 pcs 1nF 102K 3216 SMD Capacitor Ceramic JB JIS B 50V 1000pF SAMSUNG CHIP
$62.35
4000 pcs 1nF 102K 3216 SMD Capacitor Ceramic JB JIS B 50V 1000pF SAMSUNG CHIP picture






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