Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0

Get PDF Book Print View

Document Information

Getting Started

Java ME Platform SDK Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Understanding the Emulator

Viewing Device Properties

Platform Properties

Device Information

Device Properties

Setting Device Properties

Running a Project from the Device Selector

Running Projects Simultaneously on a Single Device

Emulator Options

Adding a Device Instance

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Lightweight UI Toolkit

Security and MIDlet Signing

BD-J Support

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator

On-device Debugging

Command Line Reference


JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

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)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support


Emulator Options

The emulator has Application, View, and Help menus.

The Application menu is only populated for CLDC and JavaFX platforms. The Application options are as follows:

AMS Home
Exit the current application and return to the Application Management Software home.
Change Locale
This option only works with localized MIDlets.

Enter a locale identifier. The format is similar to that of the for Java SE 6, as follows:

2-letter-lang-code separator 2-letter-country-code

For example, en-US, cs-CZ, zh-CN, ja-JP. The separator can be a dash or an underscore.

Resume a suspended application.
Pause a running application.
Switch Running MIDlet
When you have multiple MIDlets running, toggle between them. You see a list of running MIDlets and you can chose the one you want to view.
Close the emulator process and stop the build process (or processes).

The View menu is available in full to CLDC and JavaFX platforms. For CDC platforms, the only View option available is Always On Top.

Always On Top
Keeps the emulator in the foreground. This is especially useful when you are running multiple emulator instances and you want to see them all and send messages between devices.
External Events Generator
The external events generator is a utility for simulating external file systems or applications communicating with the application running on the emulator. Inputs can come from a script file on your PC or they can be injected based on your interaction with a user interface.

The external events generator provides a tab to support JSR implementations that require external event emulation: File Connection (75), Location (179), Payment (229), and Sensors (256). See FileConnection API, Running the CityGuide Sample Project, Running JBricks , Using a Mobile Sensor Project.

Choose a degree of rotation (0, 90, 180, or 270 degrees clockwise from the 0 position) or, rotate clockwise by 90 degrees from the last position (F8) or counterclockwise by 90 degrees (F9).