TOC PREV NEXT INDEX



Using the MID Emulator with MIDlets targeted at the Palm OS Platform


When a Palm OS device is chosen in the Configuration dialog, the MID Emulator immediately is reconfigured to reflect the new device. In addition to using a skin for the selected device, the MID Emulator changes the fonts, display, and the way that parts react to mouse clicks to reflect the manner in which IBM's WebSphere Micro Edition virtual machine reacts on the Palm OS. This will let you see your MIDlet will act on the Palm OS.

For example, Commands are displayed as buttons on the bottom of the screen. They may be activated by pressing them with the mouse, or by selecting them from the Command menu, a menu which appears at the top of the Palm OS device. This menu may be displayed by clicking on the title of the screen.

The Gauge, one of the Form Elements, is also different on the Palm OS: it does not display the current value as a number, but has interactive arrows on-screen. If it is important for your users to know the exact value of the Gauge, there are several ways you could add this information to your MIDlet yourself. One way would be making sure that code which changes the value of the Gauge updates a StringItem to reflect the new value.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX