BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-17-2009, 06:09 AM   #1
markdude
New Member
 
Join Date: Dec 2008
Model: 8310
PIN: N/A
Carrier: Cellcom
Posts: 3
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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


New Tonghui TH2810D LCR Meter Digital Eectrical bridge impedance measurement picture

New Tonghui TH2810D LCR Meter Digital Eectrical bridge impedance measurement

$499.00



HP-Agilent-Keysight 41951-69001/ 41951-61001 Impedance Test Adapter for 41951A picture

HP-Agilent-Keysight 41951-69001/ 41951-61001 Impedance Test Adapter for 41951A

$350.00



Tenma 72-6947 Audio Impedance Tester picture

Tenma 72-6947 Audio Impedance Tester

$99.50



Tenma 72-6960 Audio Impedance Tester picture

Tenma 72-6960 Audio Impedance Tester

$50.00



BECO Universal Impedance Bridge Model 315A, Brown Electro Measurement Corp. 315A picture

BECO Universal Impedance Bridge Model 315A, Brown Electro Measurement Corp. 315A

$129.99



Fluke  845AR High Impedance Voltmeter-Null Detector picture

Fluke 845AR High Impedance Voltmeter-Null Detector

$500.00







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