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-manager
Observe the process IDs (the above output has been shortened to fit) and use them as arguments for the kill command. For example:kill 18219 18221
If 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.