Viewing and Editing Project Properties
Running Projects in the Emulator
Running a Project from the Device Selector
Running Projects Simultaneously on a Single Device
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)
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
The emulator runs applications on an emulated device or a real device. Before you can run an application from the SDK, the Device Manager, which manages both emulated and real devices, must be running. When the Java ME Platform SDK runs, the Device Manager automatically launches and starts detecting devices. The default devices shipped with the SDK are automatically found and displayed in the Device Selector window.
The Device Manager is a service and you can see it running in your Windows system tray. In the task manager, the process is labeled device-manager.exe.
The Device Manager icon looks like this:
You can right-click on the icon and select Exit to stop the service.
When the Device Manager is running you can see its icon on the right side of the system tool bar
If the Device Manager Icon is Not Visible In the Toolbar
The Device Manager icon is available in the toolbar if you are running with Java 1.6. If you are using Java 1.5, the Device Manager runs, but its icon cannot be displayed in the system toolbar. To stop the device manager you must kill its process from a console window. For example, use the ps command to find the device manager process (if you are not familiar with ps, type man ps at the command prompt).
ps -aef | grep device-managerObserve the process IDs (the above output has been shortened to fit) and use them as arguments for the kill command. For example:
kill 18219 18221If you use an external device, the SDK doesn’t automatically know about it. Use the Add Device wizard to supply an IP address, and the Device Manager will search that location for all instances of Java. In the Device Selector, click the Add a Device icon to launch the wizard.
Step 1: Set the device location. Enter the IP address of the device and click Next.
Step 2: Device detection. Choose a verbosity level. You can change the verbosity dynamically.
Device detection starts. Notifications are written to the text pane. Progress messages are black, successful detection is green, and failure is red.
The Device Manager performs the same task as the Add Device Wizard. To launch the device manager, click the Enter an IP address and click Add. Addresses are tested as they are added. Progress messages are black, successful detection is green, and failure is red.
ing HTM