Questions tagged [mmapi]

Mobile Media API is a Java ME specification, JSR 135, that supports multimedia applications on J2ME-enabled devices.

The Mobile Media API (MMAPI) is an optional package that supports multimedia applications on J2ME-enabled devices. This standard Java specification, defined by the Java Community Process (JCP) in JSR 135, is highly flexible. It has been designed to run with any protocol and format; for example, it doesn't specify that the implementation must support particular transport protocols such as HTTP or Real-Time Transport Protocol (RTP), or media formats such as MP3, MIDI, or MPEG-4

Overview of MMAPI

MMAPI has been designed to run on any J2ME-based virtual machine, including the CDC and CLDC VMs. Sun's reference implementation runs on CLDC/MIDP for Windows 2000. The J2ME Wireless Toolkit comes with the MMAPI.

MMAPI's developers designed into it the following features:

  • Support for Tone Generation, Playback, and Recording of Time-Based Media: The package supports any time-based audio or video content.
  • Small Footprint: MMAPI works within the strict memory limits of CLDC devices.
  • Protocol- and Content-Agnostic: The API is not biased towards any specific content type or protocol.
  • Subsettable: Developers can limit support to particular types of content, basic audio for example.
  • Extensible: New features can be added easily without breaking older functionality. More importantly, additional formats can be easily supported, and the framework is in place for additional controls.
  • Options for Implementers: The API offers features for different purposes. The API is designed to allow implementers to leave some features unimplemented if they cannot be supported.

Resources

  • Specification
  • API documentation
  • Introductory tutorial at SDN: The J2ME Mobile Media API

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

79 questions
0
votes
1 answer

Resume player when incoming call

I want that after incoming call Track continues from point stop I use this code: public void playerUpdate(Player player, String event, Object data) { if(event == PlayerListener.DEVICE_UNAVAILABLE) { player.stop(); isPause =…
Tim
  • 1,606
  • 2
  • 20
  • 32
0
votes
1 answer

How to seek streaming media in blackberry

I'm using following code to forward streaming media. But it is giving me exception seeking not allowed on media. Is there any way to seek streaming media in blackberry? private void forwardPlayer(){ if(isPlaying){ try { …
-1
votes
1 answer

J2ME - Fm recording app - can't buffer and write to a file

Hey every one I was developing a J2ME app that records fm radio,I have tried so many methods but I have failed. The major problem I faced is that in the media api for J2ME once the code for tuning into a specific fm channel is written(and works but…
-1
votes
1 answer

How to play audio through the loudspeaker in J2ME

I'm using JSR 135 to play an audio file. This is the way I'm doing it. InputStream is = getClass().getResourceAsStream("/tone.mp3"); Player p = Manager.createPlayer(is, "audio/mp3"); p.start(); // get volume control for player and set…
pabrou
  • 1
1 2 3 4 5
6