Skip Headers
Oracle® Java Micro Edition Software Development Kit Developer's Guide
Release 3.2 for Eclipse on Windows
E37550-02
Index
Next
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Conventions
Related Documents
1
Getting Started
1.1
Quick Start
1.1.1
Verify Your Installation
1.1.2
Project Quick Start
1.2
Java ME SDK Update Center
2
Platforms
2.1
Emulation Platforms
2.1.1
CLDC with MIDP
2.1.2
IMP-NG
3
Using Sample Projects
3.1
Creating a Sample Project
3.2
Running a Project
3.3
Troubleshooting
3.4
Sample Project Overview
3.5
Configuring the Web Browser and Proxy Settings
3.6
Running MIDP and CLDC Sample Projects
3.6.1
Running the AdvancedMultimediaSupplements Sample Project
3.6.1.1
Image Effects
3.6.1.2
Music Effects
3.6.1.3
Camera
3.6.1.4
Moving Helicopter
3.6.2
Running the Demos Sample Project
3.6.2.1
Colors
3.6.2.2
Properties
3.6.2.3
Http
3.6.2.4
FontTestlet
3.6.2.5
Stock
3.6.2.6
Tickets
3.6.2.7
ManyBalls
3.6.2.8
MiniColor
3.6.2.9
Chooser
3.6.2.10
HttpExample
3.6.2.11
HttpView
3.6.2.12
PushExample
3.6.3
Running FPDemo
3.6.4
Running Games
3.6.5
Running Network Demo
3.6.5.1
Socket Demo
3.6.5.2
Datagram Demo
3.6.6
Running PhotoAlbum
3.6.7
Running UIDemo
3.7
Running IMP-NG Sample Projects
3.7.1
GPIODemo
3.7.2
I2CDemo
3.7.3
NetworkDemoIMPNG
3.7.4
PDAPDemoIMPNG
4
Viewing and Editing Project Properties
4.1
Project Properties
4.2
Platform Selection
4.3
Editing Application Descriptor Properties
4.4
Building a Project
4.4.1
Compiling
4.4.2
Adding Libraries and Resources
4.4.3
Creating JAR and JAD Files (Packaging)
4.4.4
Obfuscating
4.4.5
Signing
4.5
Running Settings
4.5.1
MIDP Project Run Options
5
Working With Devices
5.1
Emulating Devices
5.1.1
The Device Manager on Windows
5.1.2
Starting an Emulator
5.1.3
CLDC Application Management Software Home
5.2
Adding a Real Device
5.3
Viewing Device Properties
5.3.1
Platform Properties
5.3.2
Device Information
5.3.3
Device Properties
5.4
Setting Device Properties
5.4.1
General
5.4.2
Monitor
5.4.3
SATSA
5.4.4
Location Provider #1 and #2
5.4.5
Bluetooth and OBEX
5.5
Changing the Maximum Number of Concurrent Applications
5.6
Opening a Serial Port
5.7
Running a Project from the Device Selector
5.8
Running Projects Simultaneously on a Single Device
5.9
Emulator Features
5.10
Emulator Menus
5.10.1
Application
5.10.2
Device
5.10.2.1
Messages
5.10.2.2
Landmark Stores
5.10.2.3
Orientation
5.10.2.4
External Events Generator
5.10.3
Edit
5.10.4
View
5.10.5
Help
5.11
Using the Custom Device Skin Creator
5.11.1
Creating a New Custom Device Skin
5.11.2
Managing Custom Skins
5.11.3
IMP-NG Skin Options
5.11.3.1
General Purpose Input Output (GPIO)
5.11.3.2
Inter-Integrated Circuit (I2C)
and Serial Peripheral Interface (SPI)
5.11.3.3
Memory-Mapped I/O (MMIO)
6
Finding Files in the Multiple User Environment
6.1
Switching Users
6.2
Installation Directories
6.3
Eclipse User Directories
6.4
Oracle Java ME SDK Directories
7
Profiling Applications
7.1
Collecting and Saving Profiler Data in the IDE
7.2
Loading a .prf File
8
Network Monitoring
8.1
Monitor Network Traffic
8.2
Filter or Sort Messages
8.3
Save and Load Network Monitor Information
9
Lightweight UI Toolkit
9.1
LWUIT and the Java ME SDK
9.2
LWUIT Resource Editor
9.3
Add a Different LWUIT Library
9.4
LWUIT Demos
10
Security and MIDlet Signing
10.1
Security Domains
10.2
Setting Security Domains
10.2.1
Specify the Security Domain for an Emulator
10.2.2
Specify the Security Domain for a Project
10.3
Signing a Project With a Key Pair
10.4
Managing Keystores and Key Pairs
10.5
Command Line Samples
11
Command Line Reference
11.1
Run the Device Manager
11.2
Manage Device Addresses (device-address)
11.3
Emulator Command Line Options
11.3.1
MIDlet Options
11.3.2
Debugging and Tracing Options
11.3.3
Command Line Profiling
11.4
Build a Project from the Command Line
11.4.1
Check Prerequisites
11.4.2
Compile Class Files
11.4.3
Preverify Class Files
11.5
Packaging a MIDlet Suite (JAR and JAD)
11.6
Command Line Security Features
11.6.1
Change the Default Protection Domain
11.6.2
Sign MIDlet Suites (jadtool)
11.6.3
Manage Certificates (MEKeyTool)
11.7
Generate Stubs (wscompile)
12
Logs
12.1
Device Manager Logs
12.2
Device Instance Logs
13
API Support
13.1
JCP APIs
13.2
Oracle APIs
14
JSR 75: PDA Optional Packages
14.1
FileConnection API
14.2
PIM API
14.3
Running PDAPDemo
14.3.1
Browsing Files
14.3.2
The PIM API
15
JSR 82: Bluetooth and OBEX Support
15.1
Setting OBEX and Bluetooth Properties
15.2
Running the Bluetooth Demo
15.3
Running the OBEX Demo
16
JSR 135: Mobile Media API Support
16.1
Media Types
16.1.1
Media Capture
16.2
MMAPI MIDlet Behavior
16.3
Ring Tones
16.3.1
Download Ring Tones
16.3.2
Ring Tone Formats
16.4
Running AudioDemo
16.5
Running MMAPIDemos
16.5.1
Simple Tones
16.5.2
Simple Player
16.5.3
Video
16.5.4
Pausing Audio Test
17
JSR 177: Smart Card Security (SATSA)
17.1
Card Slots in the Emulator
17.2
Java Card Platform Simulator (cref)
17.3
Adjusting Access Control
17.3.1
Specifying PIN Properties
17.3.2
Specifying Application Permissions
17.3.3
Access Control File Example
17.4
Running SATSADemos
17.4.1
APDUMIDlet
17.4.2
SATMIDlet
17.4.3
CryptoMIDlet
17.4.4
MohairMIDlet
17.5
Running SATSAJCRMIDemo
18
JSR 179: Location API Support
18.1
Setting the Emulator's Location at Runtime
18.2
Running the CityGuide Sample Project
19
JSR 205: Wireless Messaging
19.1
Using the WMA Console to Send and Receive Messages
19.1.1
Launching the WMA Console
19.1.2
WMA Console Interface
19.1.3
Emulator Phone Numbers
19.1.4
Sending a Text or Binary SMS Message
19.1.5
Sending Text or Binary CBS Messages
19.1.6
Sending MMS Messages
19.1.7
Receiving Messages in the WMA Console
19.2
Running WMADemo
19.2.1
WMADemo Push Registry Values
19.2.2
Sending SMS Messages From WMA Console to an Emulator and Back
19.2.3
Sending MMS Messages from WMA Console to an Emulator
19.3
Running WMA Tool
19.3.1
smsreceive, cbsreceive, and mmsreceive
19.3.2
smssend
19.3.3
cbssend
19.3.4
mmssend
20
JSR 184: Mobile 3D Graphics
20.1
Choosing a Graphics Mode
20.1.1
Immediate Mode
20.1.2
Retained Mode
20.2
Quality Versus Speed
20.3
Content for Mobile 3D Graphics
20.4
Running Demo3D Samples
20.4.1
Life3D
20.4.2
RetainedMode
20.4.3
PogoRoo
21
JSR 211: Content Handler API (CHAPI)
21.1
Using Content Handlers
21.2
Running the CHAPIDemo Content Browser
22
JSR 226: Scalable 2D Vector Graphics
22.1
Running SVGDemo
22.1.1
SVG Browser
22.1.2
Render SVG Image
22.1.3
Play SVG Animation
22.1.4
Create SVG Image from Scratch
22.1.5
Bouncing Balls
22.1.6
Optimized Menu
22.1.7
Picture Decorator
22.1.8
Location Based Service
22.2
Running SVGContactList
23
JSR 239: Java Bindings for Open GL ES
23.1
Open GL Overview
24
JSR 256: Mobile Sensor API Support
24.1
Creating a Mobile Sensor Project
24.2
Using a Mobile Sensor Project
24.3
Creating a Sensor Script File
24.4
SensorBrowser
24.5
Marbles
25
JSR 257: Contactless Communication API
25.1
Using ContactlessDemo
25.2
Tag File Formats
25.3
Script Format
Index