Viewing and Editing Project Properties
Running Projects in the Emulator
Searching the WURFL Device Database
Finding Files in the Multiple User Environment
CLDC Emulation on a Windows Mobile Device
Installing CLDC Emulation on a Windows Mobile Emulator
JSR 82: Bluetooth and OBEX Support
JSR 135: Mobile Media API Support
JSR 177: Smart Card Security (SATSA)
JSRs 184, 226, and 239: Graphics Capabilities
JSR 205: Wireless Messaging API (WMA) Support
JSR 211: Content Handler API (CHAPI)
JSR 238: Mobile Internationalization API (MIA)
Download and install Microsoft Device Emulator with device images for Windows Mobile 6.
Download and install Microsoft Virtual PC.
Note - Installs virtual switch driver required for emulated network adapters.
Run Windows Mobile 6 Professional Emulator and bind its emulated NE2000 Network Adapter to a desktop network card.
Consult the Microsoft device emulator documentation for instructions.
Don’t use ActiveSync for networking (cradling the emulator).
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.
Open Emulator Properties
Open the File menu.
Click Configure.
Set JavaMESdkHome\on-device\winmobile-arm as a shared folder.
Browse to JavaMESdkHome\on-device\winmobile-arm.
Click OK.
Run File Explorer on the emulator.
Open Start menu.
Click Programs.
Click File Explorer.
Start the Sun Java CLDC Emulation CAB file installation.
Open Show menu.
Select Storage Card.
Click on the sun-java-cldc-emu.cab file.
Finish the installation and run the Sun Java CLDC Emulation.
Note - See CLDC Emulator Installation for a Device Running Windows Mobile
Use the installdir/bin/device-address tool to register the emulator IP address in the SDK. See Managing Device Addresses (device-address).
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.
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.