Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (789)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How to catch the return key  (Read 1869 times)
0 Members and 1 Guest are viewing this topic.
Offline bazyl

Junior Newbie

Java games rock!

« Posted 2004-07-21 14:53:30 »

Hi all,

does anyone know how to catch the "return" key (this one that disconnects a call) so that it wouldn`t exit the midlet? I want to use it to navigate through the menu in my app, but pressing it always exits the midlet. I know it's possible, but I don't have any idea how to do it.

Thanks for your help
Offline Matzon

JGO Knight

Medals: 19
Projects: 1

I'm gonna wring your pants!

« Reply #1 - Posted 2004-07-21 16:41:06 »

The Exit midlet key isn't catchable on Nokia devices (AFAIK) - so not much to do about that :/

Offline bazyl

Junior Newbie

Java games rock!

« Reply #2 - Posted 2004-07-21 17:39:57 »

Thanks for help, I only know that it's possible on SE T630, as I have this phone and it works in one of the preinstalled midlets. What I want to do is to allow the user use the Exit button to go back to previous screen. I want to avoid using Commands and use a custom, full screen menu instead. I'm developing a game and it would just look better Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Abuse

JGO Ninja

Medals: 71

falling into the abyss of reality

« Reply #3 - Posted 2004-07-25 08:38:19 »

If it works in 1 of the pre-installed midlets, just transfer the midlet to your pc, decompile it, and have a look how they did it.
Pages: [1]
  ignore  |  Print  

hadezbladez (2612 views)
2018-11-16 13:46:03

hadezbladez (937 views)
2018-11-16 13:41:33

hadezbladez (2565 views)
2018-11-16 13:35:35

hadezbladez (506 views)
2018-11-16 13:32:03

EgonOlsen (3688 views)
2018-06-10 19:43:48

EgonOlsen (4074 views)
2018-06-10 19:43:44

EgonOlsen (2449 views)
2018-06-10 19:43:20

DesertCoockie (3253 views)
2018-05-13 18:23:11

nelsongames (3336 views)
2018-04-24 18:15:36

nelsongames (4312 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!