2. Low Level
• 2 Kind of interaction between User and
Canvas :
1. Commands
2. Low Level Events
3. Commands Canvas
• Canvas is a Displayable object.
• It can accept Commands.
• It can interact with CommandListener.
Example MIDlet : TestCommandCanvas.java
6. Key Detection
• To do a low level event handling, we must
detect keys and pointers.
• This Detection process is implemented
through key code methods overriding.
13. Converter Methods
• public int getGameAction(int
keyCode)
• public String getKeyName(int
keyCode)
• public int getKeyCode(int
gameAction)
Example MIDlet : TestLowLevelEvent.java
14. Reference
• Core J2ME Technology and MIDP. John
W. Muchow. Prentice Hall PTR, 2002.
• Enterprise J2ME: Developing Mobile
Java Applications. Michael Juntao Yuan.
Prentice Hall PTR, 2003.
• J2ME in A Nutshell. Kim Topley. Oreilly,
2002.