O'Reilly logo

Wireless Java by Qusay H. Mahmoud

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

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 (midp4palm-1_0.zip), 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 http://java.sun.com/products/midp4palm.

  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 ...

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