Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
09-10-2009 06:55 AM
The code posted by you works fine on Bold and Curves, but will it disconnect the call on 4.2.1 OS ?
I have tested the application on Bold and Storm it works fine.
I dont have the device with 4.2.1 OS but I have tested the code on the 4.2.2 Simulator it does not disconnect the incoming call.
Is this a Simulator problem ?
09-10-2009 04:33 PM
Thanks a lot Krishn2 and safycool,
We have tested only to put the thread to sleep for 2 to 3 seconds in between the keydown / keyup event injections and it works alright now
09-11-2009 03:01 AM
I also tested it on simulator 4.6.0 and OS 18.104.22.168 and faced no issue.
Cant you upgrade to higher verison of simulator and OS (on your cell phone)?
12-15-2009 11:12 AM
Hi, anyone have any luck being able to find code that does work on the Bold/Storm without using key injection?
My concern with key injection is the behaviour when the handset is in the holster, as how I understand it is that key injection is disabled in this situation.
12-16-2009 02:54 PM - edited 12-16-2009 03:00 PM
OK, on 4.2.1 KeyCodeEvent constructor is slightly different - it has 4th parameter int time:
which time - The time the key is held, in milliseconds.
This constructor is also present in 4.7.
I tried 100 msc and the code works on 4.2.1 (at least simulator) as well.
In my case I put it in callInitiated(int callid);
P.S. guys (and gals) don't forget to press Star near krishn2's name