Document Information
Getting Started
Quick Start
Tips for Legacy Toolkit Users
Features
Emulation Platforms
CLDC and MIDP Stack
JavaFX Platform
Managing Java Platforms
Support for Third-Party Emulators and Real Devices
Automatic Update
Managing Plugins
Install a Plugin Globally
Editing Options
Create a Keymap Profile
Using Sample Projects
Running a Project
Troubleshooting
Sample Project Overview
Configuring the Web Browser and Proxy Settings
Resolving Reference Problems
Running MIDP and CLDC Sample Projects
Running the Demos Sample Project
Running FPDemo
Running Games
Running Network Demo
Running PhotoAlbum
Running UIDemo
Creating and Editing Projects
Project Types
The Project Wizard
Project Template Page
Name and Location Page
WTK MIDP Project Location
Platform Selection Page (MIDP)
Create a CLDC Project
Working With Projects
View Project Files
Create a New MIDlet
Import a Legacy MIDP Project
Add Files to a Project
Search Project Files
Viewing and Editing Project Properties
General Project Properties
Platform Selection
Editing Application Descriptor Properties
MIDP Attributes
Add an Attribute
Edit an Attribute
Remove an Attribute
MIDlets
Add a MIDlet
Edit a MIDlet
Remove a MIDLet
Change MIDlet Display Order
Push Registry
Add a Push Registry Entry
Edit a Push Registry Entry
Remove a Push Registry Entry
Change Push Registry Display Order
API Permissions
Adding Permission Requests
Building a Project
Configuring Ant
Compiling
Adding Libraries and Resources
Creating JAR and JAD Files (Packaging)
Obfuscating
Signing
Exporting a Key
Running Settings
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
Search for Devices
WURFL Search Filtering
Finding Files in the Multiple User Environment
Switching Users
Installation Directories
User Directories
Profiling Applications
Saving Profiler Data
Loading Profiler Data
Saving Customized Snapshots and Images
Loading a Customized Snapshot
Network Monitoring
Monitor Network Traffic
Filter Messages
Sort Messages
Save and Load Network Monitor Information
Clear the Message Tree
Lightweight UI Toolkit
LWUIT and the Java ME SDK
Security and MIDlet Signing
Security Domains
Setting Security Domains
Signing a Project
Sign a CLDC Project With a Key Pair
Managing Keystores and Key Pairs
Working With Keystores and Key Pairs
Create a Keystore
Add an Existing Keystore
Create a New Key Pair
Remove a Key Pair
Import an Existing Key Pair
Managing Root Certificates
CLDC Emulation on a Windows Mobile Device
CLDC Emulator Installation for a Device Running Windows Mobile
Manually Deploy an Application to a Device
Install and Run an Application From the Command Line
Installing CLDC Emulation on a Windows Mobile Emulator (Windows Only)
CLDC Installation for Windows Mobile
On-device Debugging
On-device Debugging Procedure
Wireless Debugging Procedure
Attach a Command Line Debugger
Attach a Graphical Debugger
Sample CLDC Debugging Session
Command Line Reference
Launch the SDK
Run the Device Manager
Manage Device Addresses (device-address)
Emulator Command Line Options
Build a Project from the Command Line
Packaging a MIDLet Suite (JAR and JAD)
Command Line Security Features
Change the Default Protection Domain
Sign MIDlet Suites (
jadtool
)
Manage Certificates (MEKeyTool)
Generate Stubs (wscompile)
Virtual Machine Memory Profiler (Java Heap Memory Observe Tool)
Run the Java Heap Memory Observe Tool
Heap Snapshot Elements
Logs
Log Location
Device Manager Logs
Device Instance Logs
JSR Support
JCP APIs
JSR 75: PDA Optional Packages
FileConnection API
PIM API
Running PDAPDemo
JSR 82: Bluetooth and OBEX Support
Bluetooth Simulation Environment
Running the Bluetooth Demo
JSR 135: Mobile Media API Support
Media Types
MMAPI MIDlet Behavior
Ring Tones
Running AudioDemo
Running MMAPIDemos
JSR 172: Web Services Support
Generating Stub Files from WSDL Descriptors
Creating a New Mobile Web Service Client
Run JSR172Demo
JSR 177: Smart Card Security (SATSA)
Card Slots in the Emulator
Adjusting Access Control
Specifying PIN Properties
Specifying Application Permissions
Access Control File Example
JSR 179: Location API Support
Setting the Emulator's Location at Runtime
Running the CityGuide Sample Project
JSR 180: SIP Communications
Understanding the SIP Registrar and Proxy
Running SIPDemo
JSR 184: Mobile 3D Graphics
Choosing a Graphics Mode
Quality Versus Speed
Content for Mobile 3D Graphics
Running Demo3D Samples
JSR 205: Wireless Messaging API (WMA) Support
Using the WMA Console to Send and Receive Messages
Launching the WMA Console
WMA Console Interface
Emulator Phone Numbers
Sending a Text SMS Message
Sending a Binary SMS Message
Sending Text or Binary CBS Messages
Sending MMS Messages
Receiving Messages in the WMA Console
Running WMADemo
Sending Messages from WMA Console to an Emulator
Running WMA Tool
JSR 211: Content Handler API (CHAPI)
Using Content Handlers
Defining Content Handler Properties
Defining Content Handler Actions
Running the CHAPIDemo Content Browser
JSR 226: Scalable 2D Vector Graphics
Running SVGDemo
Running SVGContactList
JSR 229: Payment API Support
Running the Payment Console
Running JBricks
JSR 238: Mobile Internationalization API (MIA)
Setting the Emulator's Locale
Using the Resource Manager
Running i18nDemo
JSR 256: Mobile Sensor API Support
Creating a Mobile Sensor Project
Using a Mobile Sensor Project
Creating a Sensor Script File
SensorBrowser
Marbles
Index
Java Platform Micro Edition Software Development Kit
Version 3.0, Mac OS
December 2009
This helpset describes how to use the Java ME Platform SDK version 3.0