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

1Pcs W27e040 W27e040-12 Dip-32 Eeprom 27E040 Ic New Y
$4.38
1Pcs W27e040 W27e040-12 Dip-32 Eeprom 27E040 Ic New Y pictureLot of 10: Microchip 28C64A-15I/L EEprom
$27.77
Lot of 10: Microchip 28C64A-15I/L EEprom pictureChip 24 Eeprom Bios Writer Usb Programmer 25 Spi Flash Ch341a Series Burner Ne A
$3.11
Chip 24 Eeprom Bios Writer Usb Programmer 25 Spi Flash Ch341a Series Burner Ne A picture2Pcs Microchip Mcu Flash 2Kx14 Eeprom 18Soic Pic16f628a-I/So Ic New T
$1.94
2Pcs Microchip Mcu Flash 2Kx14 Eeprom 18Soic Pic16f628a-I/So Ic New T picture1Pcs 24Lc256 24Lc256-I/P 24Lc256i/P Dip Eeprom New Ic P
$1.14
1Pcs 24Lc256 24Lc256-I/P 24Lc256i/P Dip Eeprom New Ic P picture






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