Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0, Mac OS

Get PDF Book Print View

Document Information

Getting Started


Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Network Monitoring

Lightweight UI Toolkit

Security and MIDlet Signing

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator (Windows Only)

CLDC Installation for Windows Mobile

On-device Debugging

Command Line Reference


JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSR 180: SIP Communications

JSR 184: Mobile 3D Graphics

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 226: Scalable 2D Vector Graphics

JSR 229: Payment API Support

JSR 238: Mobile Internationalization API (MIA)

JSR 256: Mobile Sensor API Support


CLDC Installation for Windows Mobile

  1. Download and install Microsoft Device Emulator with device images for Windows Mobile 6.
  2. Download and install Microsoft Virtual PC.

    Note - Installs virtual switch driver required for emulated network adapters.

  3. Run Windows Mobile 6 Professional Emulator and bind its emulated NE2000 Network Adapter to a desktop network card.
    Bind Network adaptor to the desktop network card
    • Consult the Microsoft device emulator documentation for instructions.

    • Don’t use ActiveSync for networking (cradling the emulator).

  4. Write down the IP address of the emulator.

    Open the Start menu on the emulator, click Settings, click Connections, click Network Cards, Click NE2000 Compatible Ethernet Driver.

    IP address for ethernet driver
  5. Open Emulator Properties
    1. Open the File menu.
    2. Click Configure.
      choose File, then configure
  6. Set JavaMESdkHome\on-device\winmobile-arm as a shared folder.
    1. Browse to JavaMESdkHome\on-device\winmobile-arm.
    2. Click OK.
      choose winmobile-arm
  7. Run File Explorer on the emulator.
    1. Open Start menu.
    2. Click Programs.
      Select Start, then Programs
    3. Click File Explorer.
      Select File Explorer
  8. Start the Sun Java CLDC Emulation CAB file installation.
    1. Open Show menu.
    2. Select Storage Card.
      From the show menu, select storage card
    3. Click on the sun-java-cldc-emu.cab file.
      click on CAB file
  9. Finish the installation and run the Sun Java CLDC Emulation.
  10. Use the installdir/bin/device-address tool to register the emulator IP address in the SDK. See Manage Device Addresses (device-address).
    1. Execute the following command to ensure the SDK registers the emulator:

      device-address.exe add ip address

      address should be the IP address written down in step 4.

    2. After the device registers the emulator the device selector window should display the device as CldcWinceEmunumber and it should also appear in the output when you issue the emulator.exe -Xquery command.