Exit Print View

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

Get PDF Book Print View
 

Document Information

Getting Started

Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

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

Logs

JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

Media Types

MMAPI MIDlet Behavior

Ring Tones

Running AudioDemo

Running MMAPIDemos

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

Index


Media Types

The emulator’s MMAPI implementation supports the following media types.

MIME Type
Description
audio/amr
Adaptive Multi-Rate
audio/midi
MIDI files
audio/mpeg
MP3 files
audio/sp-midi
Scalable Polyphony MIDI
audio/x-tone-seq
MIDP 2.0 tone sequence
audio/x-wav
WAV PCM sampled audio
image/gif
GIF 89a (animated GIF)
video/3gpp
Third generation mobile broadband with video
video/mpeg
MPEG video
video/quicktime
Video capture
Adaptive Multi-Rate (AMR) Content

The Java ME Platform SDK simulates support for Adaptive Multi‐Rate (AMR) content http://www.ietf.org/rfc/rfc3267.txt. Although the Java ME Platform SDK cannot decode AMR content, the implementation returns a player for AMR content when requested.

On Windows, AMR files are converted to regular WAVE files and passed to Qsound. Because the Windows version interfaces with the 3GPP implementation, you do not have to do anything to get AMR files to play.

Media Capture (Windows Only)

The Java ME Platform SDK emulator supports audio and video capture. Audio capture is supported by using the capture capabilities of the system upon which the emulator runs.

Video capture is supported by simulating a camera input.

Consult the MobileMediaAPI example application for details and source code that demonstrates how to capture audio and video.