Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0, Mac OS

Get PDF Book Print View

Document Information

Getting Started


Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Emulating Devices

Viewing Device Properties

Setting Device Properties

Opening a Serial Port

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

Network Monitoring

Lightweight UI Toolkit

Security and MIDlet Signing

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator (Windows Only)

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

JSR 180: SIP Communications

JSR 184: Mobile 3D Graphics

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 226: Scalable 2D Vector Graphics

JSR 229: Payment API Support

JSR 238: Mobile Internationalization API (MIA)

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 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.

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). On Mac OS, the F9 key is is used to show all applications. To reliably rotate counter-clockwise you should remap the counterclockwise rotation to a different key. See the topic Create a Keymap Profile.