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
Managing Device Addresses (device-address)
Running the Emulator From the Command Line
Building a Project from the Command Line
Packaging a MIDLet Suite (JAR and JAD)
Command Line Security Features
Changing the Emulator's Default Protection Domain
Signing MIDlet Suites (jadtool.exe)
Managing Certificates (MEKeyTool)
Running the Payment Console From the Command Line
Virtual Machine Memory Profiler (Java Heap Memory Observe Tool)
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)
The Java Heap Memory Observe tool is launched from the command line as follows:
The following command starts the emulator from the \bin directory and opens a sample application:
emulator.exe -Xdevice:DefaultCldcMsaPhone1 -Xdebug -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=51307 -Xdescriptor:C:\Java_ME_platform_SDK_3.0\apps\Games\dist\Games.jad -Xdomain:maximum
In a separate command window, start the memory profiler from the \bin directory. The port number must match the address in the Xrunjdwp call:
memory-profiler.exe -host 127.0.0.1 -port 51307
The profiler window opens.
Click the Connect button and wait for the profiler to attach to the process. It may take several seconds. After the connection, press Resume.
To take a snapshot of the heap, click the Pause button on the bottom right. The virtual machine is suspended while the profiler collects the snapshot information. The memory panel is then repopulated and the Resume button becomes active.