06-06-2008, 05:36 AM
Join Date: Jun 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Speaker phone is on when we are using event injector
Please Login to Remove!
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);
Please help me in this regard