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 (Windows Only)
Attach a Command Line Debugger
JSR 82: Bluetooth and OBEX Support
JSR 135: Mobile Media API Support
JSR 177: Smart Card Security (SATSA)
JSR 205: Wireless Messaging API (WMA) Support
JSR 211: Content Handler API (CHAPI)
JSR 226: Scalable 2D Vector Graphics
JSR 238: Mobile Internationalization API (MIA)
JSR 256: Mobile Sensor API Support
If you have a Windows Mobile device that supports Wi-Fi and a Wi-Fi enabled computer or wireless router, you can debug an application without a physical connection. Install the Java ME runtime on the device as described in CLDC Emulator Installation for a Device Running Windows Mobile.
Note, multiple phones can be connected simultaneously.
There is no difference between plugging it into Wi-Fi enabled router and starting an ad-hoc network on the computer.
This can be different for different vendors and models, so check the documentation shipped with your device. A good point to start your search might be START > Settings > Connections > WLAN Settings > Connection Status.
ping device-ip
tracert device-ip
Windows
device-address.exe add ip device-ipMac OS
installdir/Contents/Resources/bin/device-address add ip device-ipIf you use a wireless router you can probably configure its DHCP server to always assign the same IP address to your device. If you can, you don’t need to run the device-address command every time because your device will be detected and added to the wireless network.
Windows
emulator.exe -XqueryMac OS
installdir/Contents/Resources/bin/emulator -XqueryXquery returns the device name. You can also start the SDK user interface and look for the new device in the Device Selector panel.
The device should work like any other device or emulator. From the /bin directory, try these commands to install a MIDlet on the device:
Windows
emulator.exe -Xdescriptor:C:\Java_ME_platform_SDK_3.0\apps\Games\dist\Games.jad -Xdevice:device-name-from-XqueryMac OS
emulator -Xdescriptor:../apps/Games/dist/Games.jad -Xdevice:device-name-from-XquerySee the debugging procedures in Attach a Graphical Debugger and Sample CLDC Debugging Session.