Close

Simple

Keypad exercise, catching events and displaying keycodes

This example is included in the MoSync SDK installation in the /examples folder. For information on importing the examples into your workspace, see Importing the Examples.

Behaviour

The screen says "Hello moblet!", after which the application awaits key presses. Each key (but the 0 key) will have its key code echoed on-screen.

Key Presses

  • ANY key to get key code
  • 0 - exits the application