Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2me : red key interrupt.....

 
vijeth Ag
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18009
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vijeth Ag
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic