Chapter 9. The MIDP for Palm OS

An early access release of the MIDP for Palm OS was released just before JavaOne 2001, in early June, and the First Customer Shipping (FCS) of the MIDP for Palm OS 1.0 was released in mid-October, 2001. The MIDP for Palm OS is a J2ME application runtime environment based on the CLDC 1.0 and MIDP 1.0 specifications. It is targeted at handheld devices (such as Palm Pilot, Handspring Visor, and so on) running Palm OS version 3.5 or higher.

This chapter explains how to install the MIDP for Palm OS on your handheld device, and then how to convert existing MIDlets, developed in earlier chapters, into Palm Resource Code (PRC) files (executable Palm OS applications). The J2ME Wireless Toolkit 1.0.3 supports the MIDP for Palm OS. Hence, it is possible to test MIDlets using a Palm OS device, as shown in Chapter 4.

Installing the MIDP for Palm OSon the Windows Platform

To install the MIDP for Palm OS, you need to perform the following steps:

  1. Download the MIDP for Palm OS. This package (, which is less than one megabyte, is the early access release of the MIDP for Palm OS implementation. You can download it from the Java web site at

  2. Unzip the package. Do this in the root directory C:\. This gives you a new folder called midp4palm1.0 that contains tools and sample applications. Check to make sure you have a file called MIDP.prc in the PRCfiles directory, which is the application runtime environment that ...

Get Wireless Java now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.