BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 02-17-2009, 06:09 AM   #1 (permalink)
New Member
 
Join Date: Dec 2008
Model: 8310
PIN: N/A
Carrier: Cellcom
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Cool J2ME Polish inject menu button to pop up

Please Login to Remove!

Hi All,
I successfully pop up menu on the emulator without end user press on the menu key. I used the following code:
Code:
EventInjector.KeyCodeEvent pressEndKey =
					new EventInjector.KeyCodeEvent(EventInjector.KeyCodeEvent.KEY_DOWN, (char) Keypad.KEY_MENU,
					KeypadListener.STATUS_NOT_FROM_KEYPAD);

EventInjector.invokeEvent(pressEndKey);
but on device 8310 it gives me following error when I press on app icon

Error starting appname: Symbol ' EventInjector $KeyCodeEvent.<init>' not found

Does anyone have an idea how to solve this issue?

Last edited by markdude : 02-17-2009 at 06:10 AM.
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

Lot Of 10 Siemens Q120DF 20-Amp AFCI/GFCI Dual Function Circuit Breaker
$310.0
Lot Of 10 Siemens Q120DF 20-Amp AFCI/GFCI Dual Function Circuit Breaker pictureSIEMENS 538-987 2400 AMP DIGITAL ENERGY MONITOR
$1558.0
SIEMENS 538-987  2400 AMP DIGITAL ENERGY MONITOR pictureSiemens 6DR5010-0NN00-0AA0 Controller for Electric Actuator, 35VDC, 2Wire
$159.99
Siemens 6DR5010-0NN00-0AA0 Controller for Electric Actuator, 35VDC, 2Wire pictureONE USED SIEMENS CONTACTOR 3TF2001-0BB4.
$10.5
ONE USED SIEMENS CONTACTOR 3TF2001-0BB4. pictureSIEMENS INDUSTRIAL CONTROL TRANSFORMER 45VA 50/60HZ 24-213-101-003
$27.99
SIEMENS INDUSTRIAL CONTROL TRANSFORMER 45VA 50/60HZ 24-213-101-003 picture






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