O'Reilly logo

J2ME in a Nutshell by Kim Topley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MIDP for PalmOS

MIDP for PalmOS is an implementation of MIDP 1.0 and CLDC 1.0 for devices running PalmOS Version 3.5 or higher. It is developed by Sun Microsystems and available for free download from http://java.sun.com/products/midp4palm/index.html.

MIDP for PalmOS can be installed on a real device, or, for ease of development, you can use it together with the PalmOS Emulator (POSE) on your PC to develop and debug MIDlets using the J2ME Wireless Toolkit or one of the other IDEs that support J2ME.

MIDP for PalmOS is delivered with documentation that describes in detail how to install and configure it. Rather than repeat what is in the official documentation, in this section, we briefly cover the most important aspects of installation and configuration. Then we look at some of the features that are relevant from the development and debugging point of view.

The PalmOS Emulator (POSE)

When you are creating MIDlets, you’ll find it much easier and quicker to use an emulated PalmOS device than a real one. Once you are confident that the MIDlet is working, you can then deploy it to the real device for final testing. The PalmOS emulator is a free product that can be downloaded from http://www.palmos.com/dev/tech/tools/emulator/. Once you have downloaded and installed it, you need to upload a ROM image. If you have a real PalmOS device, you can transfer the contents of its ROM to the emulator by placing it in its cradle and following the instructions in the documentation that comes with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required