• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

J2me : red key interrupt.....

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic