Sun Java Solaris Communities My SDN Account Join SDN
 

Mobile Service Architecture - JSR 135

»  Overview
 
»  Devices
 

JSR 135 - Mobile Media API 1.2

 

MMAPI allows for access and control, including playback and capture, of basic audio and multimedia resources on mobile devices. This delivers a media-rich, compelling user experience while extending the platform into multimedia. As a very small, lightweight package, MMAPI helps developers gain access to native multimedia services. More information on MMAPI may be found at java.sun.com/products/mmapi.

Packages

 

javax.microedition.media
javax.microedition.media.control
javax.microedition.media.protocol

System Properties

 
Name Description
microedition.media.version Designated version of MMAPI implemented, "1.1".

supports.mixing Is audio mixing supported: "true" or "false".

supports.audio.capture Is audio capture supported: "true" or "false".

supports.video.capture Is video capture supported: "true" or "false".

supports.recording Is recording supported: "true" or "false".

audio.encodings Blank separated list of supported audio formats or null.

video.encodings Blank separated list of supported video formats or null.

video.snapshot.encodings Blank separated list of supported snapshot formats or null.

streamablecontents Blank separated list of streamable content types.
 

Articles

 

Mobile Media API Overview - The Mobile Media API (MMAPI), JSR-135 is a J2ME optional package for the capture and playback of audio and video. This article provides a conceptual overview and a tour of the MMAPI's packages and classes.

The J2ME Mobile Media API - Provides a technical overview of MMAPI's architecture and APIs, followed by a tutorial in which sample code demonstrates how MMAPI can be used to build multimedia-rich wireless Java applications. A complete media player is developed, and steps for testing it are provided.

Taking Pictures with MMAPI - Learn how to use the Mobile Media API to capture pictures in a MIDlet.

Comparing J2ME Multimedia Options - This article presents the latest developments in MMAPI: the new security considerations raised in MMAPI 1.1, the differences between MMAPI and the MIDP 2.0 Media API, J2ME Wireless Toolkit 2.2 support for MMAPI, and JSR 234, Advanced Multimedia Supplements.

Getting Started
 
Related Links