J2ME question:how i can catch command event

From: Sveta (cvetyna_at_hotmail.com)
Date: 02/29/04


Date: 29 Feb 2004 08:13:19 -0800

Hi, all!

I am new with J2ME.

I have application that has form with 2 commands (exit and select).
All UI uses are high level API, and it is very important to leave it
high-level.
This application works fine on some devices. But at Samsung mobile
phone, I have a problem.
In this phone my 2 commands appear under menu command, and then I can
choose one of them. New command "OK" is added only on phone.

My question is:
1. How I can catch event on this OK command?
2. Is there any way to use keyPressed method of Canvas class in Form
class?
3. Any suggestions are welcome.



Relevant Pages

  • J2ME question:how i can catch command event
    ... I have application that has form with 2 commands (exit and select). ... All UI uses are high level API, and it is very important to leave it ... New command "OK" is added only on phone. ... Is there any way to use keyPressed method of Canvas class in Form ...
    (comp.lang.java.help)
  • J2ME question:how i can catch command event
    ... I have application that has form with 2 commands (exit and select). ... All UI uses are high level API, and it is very important to leave it ... New command "OK" is added only on phone. ... Is there any way to use keyPressed method of Canvas class in Form ...
    (comp.lang.java)
  • Re: dd command & reading in background
    ... ^ D,"UnixReview: Shell Corner: The dspl Korn Shell ... user input timeout, do a search on C.U.S. for the ... # 0<c<127 - job exited with this exit code ...
    (comp.unix.shell)
  • Re: Most dependable way to run system commands
    ... Eventually I'd like to bring the execution of a few system commands ... specific execution issue (it dealt more with executing Perl code)). ... Unix and many similar systems, the exit status is an integer, with 0 ... variable after running a command via system or backticks. ...
    (perl.beginners)
  • Re: very slow cursor in CMD window w/Text editor?
    ... REM MS-DOS-based application, Windows runs COMMAND.COM. ... To run CMD.EXE, the Windows command prompt, ... The exit command is an internal command part of command.com or cmd.exe. ...
    (microsoft.public.windowsxp.general)