Developing applications for PocketPC

This topic explains how to set up the PocketPC device and WebSphere Studio Device Developer (WSDD) to work together.

PocketPC: What you need to get started

To run MQe applications on the PocketPC you need:
  • A Pocket PC device. Emulators exist, but they are not as true to the original device as the Palm emulators are to the Palm.A copy of a J2ME virtual machine installed on the device. A cradle to sync the PocketPC with your desktop
  • J9 for the PocketPC comes with WSDD and is located in C:\IBM\wsdd\wsdd4.0\ive\runtimes\pocketpc\arm\ive. The files required from here are:
    • bin\iverel15.dll
    • bin\j9.exe
    • bin\j9dbg15.dll
    • bin\j9dyn15.dll
    • bin\j9hook15.dll
    • bin\j9midp15.dll
    • bin\j9prt15.dll
    • bin\j9thr15.dll
    • bin\j9vm15.dll
    • bin\j9w.exe
    • bin\j9zlib15.dll
    • bin\swt-win32-ce-2023.dll
    • lib\jclMidp
    • lib\jclMidp.jxe
These are specified in the WSDD help file. Create a similar directory structure on the device, for example, program files or WSDD with bin and lib subdirectories. Then copy the files to the relevant places. Note that the example application functions under MIDP, hence the need for the jclMidp.jxe file. The section Palm: What you need to get started in Developing applications for Palm provides details on downloading WSDD.

PocketPC: Getting started with WSDD

To run applications on the PocketPC from WSDD, you need to tell WSDD where the various files you copied to your device are located. This is done in [Window][Preferences][Device Developer][PocketPC Java Configuration]. Set the three options to: \Program Files\WSDD \My Documents\WSDD \Windows\Start Menu, assuming that you copied the J9 files to '\Program Files\WSDD' earlier

PocketPC: Building for the Pocket PC in WebSphere Studio Device Developer

This procedure is almost identical to that described in the Building for the Palm in WSDD section. However, with the final choice for launcher, choose 'MIDlet Suite on PocketPC Device' rather than the manual option. This means that the application automatically copies to the relevant device and runs automatically.

Parent topic: Using WebSphere Studio Device Developer (WSDD)