aspose file tools*
The moose likes Java Micro Edition and the fly likes J2me : red key interrupt..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2me : red key interrupt....." Watch "J2me : red key interrupt....." New topic
Author

J2me : red key interrupt.....

vijeth Ag
Greenhorn

Joined: Mar 23, 2011
Posts: 2
Hi all.,

anybody hv solved this issue.,

some of the devices doesnt let the j2me handle the device red key., instead it shows a menu with : pause, minimize, terminate options.,

I want the jar thats running to recognize the red key pressed, so that i can trigger a pause menu in my own application(my application is a game, so that i wud pop up in game pause menu)

Thanks is advance
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16058
    
  21

Welcome to the JavaRanch, Vijeth!

We don't expect flawless English here, or they would have sent me away long ago. But please avoid non-standard usages like "hv" and "wud", And especially, things like "ur" and "p ls".

Unfortunately, none of the phones I've worked with even have a "red" key. So I can't tell you anything specific. If you can determine what keycode it generates, however, you can set up a key event listener for it.


Customer surveys are for companies who didn't pay proper attention to begin with.
vijeth Ag
Greenhorn

Joined: Mar 23, 2011
Posts: 2
hi Tim Holloway., about english yes its considered.

and about the "red" key its there in all devices "the call end' key - thats the one I am speaking about...

also we can't implement the key listener since, the j2me cannot recognize the call end key, because when this key is pressed it directly opens the device menu for that application (pause, terminate, minimize).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2me : red key interrupt.....