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.
06-09-2009 07:15 AM
I want to develop an application in which suppose I keep pressing the '#' key for 5 seconds, then it should be display the messege "Hello" on the console. This task I have to do without running my application.
Also the requirement is that I am not allowed to auto start the application. So whenevr the BB simulator is initialized at that time if i press the key then the messege should be displayed.
How can i achieve this?..
06-09-2009 07:20 AM
06-09-2009 07:37 AM
Thanks for the reply. But if I start auto-start the application, then is there any way to do so?
I mean we make an application which is running in backgroung while BB simulator is initilized. So is it possible by pressing key up to some time interval & get the messege on the console?..
06-09-2009 07:54 AM
06-09-2009 08:14 AM
Thanks a lots Simon,
Then is it possible to generate event on # key press anyway? I mean if we run our code then after it is possible to press the key for particular time interval & display the messege?
Sorry for bunch of questions.
06-09-2009 08:48 AM - edited 06-10-2009 02:12 AM
I agree with simon.. However a foreground application can get all the key presses..
I'm not aware of finding a long keypress and a short one.. key up and key down events are there
06-09-2009 08:57 AM
06-10-2009 02:06 AM
Thanks for your interaction. I found the solution of my problem as an application running in foreground. I just implemented KeyListener & all its methods for that.