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
1
vote
1 answer

How to draw an image over a VideoComponent control using LWUIT framework?

I tried to find variants to draw one image over one VideoComponent and apparently not is possible!. What I do is to display an image on pause video playback and add a back button to a Form. The problem is that the image is never painted over the…
jordenysp
  • 2,644
  • 22
  • 17
1
vote
1 answer

RIM blackberry Record 3GP video

I am writing an application that can record a 3GP video. I have tried both MMAPI and Invoke API. But have following issues. Using MMAPI: When I record to stream, It records video in RIMM streaming format. when I try to play this video player gives…
1
vote
0 answers

read a textfile using mmap, wchar_t

The last few hours I am banging my head against the wall and actually do not really understand what's going wrong here. I have a text file containing word phrases not longer than 128 characters. What I try to do is memory map this file and read of…
Andreas W. Wylach
  • 723
  • 2
  • 10
  • 31
1
vote
2 answers

Player with custom data source on Blackberry

I must create a custom media player within the application with support for mp3 and wav files. I read in the documentation I can't seek or get the media file duration without a custom datasource. I checked the demo in the JDE 4.6 but I have still…
Alex
  • 3,382
  • 2
  • 32
  • 41
1
vote
1 answer

FramePositioningControl is null in Blackberry Video player

I'm developing a blackberry application that plays video from the server. I've used Player.start() and Player.stop() for playing and pausing a video. But I also need rewind, forward and seek bar controls in my application. I tried using…
user298777
  • 41
  • 1
  • 2
1
vote
1 answer

J2ME Camera and Sound Recorder Access On A Windows Mobile

I'm currently involved in a research project that requires me to access a Windows Mobile Camera and sound recorder with J2ME to, well take pictures and record sound... the phone has to be a windows mobile for some reason that has nothing to do with…
Steven Knox
  • 140
  • 1
  • 11
1
vote
2 answers

can J2ME access camera(image capture) event from N73 device

I am working on project where I need to catch the image capture event. It's for nokia N73 having platform S60 3rd edition. Is there any possible way using J2ME only (without using symbian). Description: J2ME application running in background, on…
rajiv
  • 11
  • 1
  • 3
1
vote
0 answers

Real time audio analysis on java me with mmapi

I'm trying to write an app that uses the mmapi protocol do analyse the volume of sound coming from the microphone, all it needs to do is detect the audio level coming in from the microphone and display this in real time. I'm using RecordControl and…
gordonfreeman
  • 39
  • 1
  • 2
1
vote
1 answer

Blackberry buffered playback demo?

Can someone help me to buffer a mp3 file on a server using the Blackberry buffered playback demo app provided with the jde? I have loaded it in the simulator and my mds is started but I'm unable to play the audio. There is no error but it doesn't…
Bohemian
  • 5,957
  • 11
  • 38
  • 47
1
vote
0 answers

How to download and Play video in J2ME

How to download and play video in j2me? My code working for download In samsung : Download completed as same bytes file writen in same bytes but not supporting file format, In nokia2690 download not completed, it's showing NullpointerException I…
Joseph
  • 131
  • 10
1
vote
1 answer

Application crashes with Exception when using javax.microedition.media.Player

I have an application that processes data from bluetooth and send it to the web service. Recently there was a request to add sounds to the application. Now when the application processes batches of data and the player is playing constantly after a…
Revenge
  • 51
  • 4
1
vote
2 answers

What is the proper way to stream HTTP video, or even to debug on a Blackberry simulator?

Possible Duplicate: Playing an InputStream video in Blackberry JDE I've seen a lot of different methods for doing so, but none of them are specific (and my attempts to implement them have all failed). Does there exist a known way to stream http…
J.R.
  • 5,789
  • 11
  • 55
  • 78
1
vote
0 answers

RecordControl with platformRequest could they work?

My goal is to produce an application that dial a phone number then record the conservation. I have tested this code which record voice and then play it on my 5310 correctly. import java.io.*; import javax.microedition.midlet.*; import…
PHPFan
  • 756
  • 3
  • 12
  • 46
1
vote
1 answer

How to play videos with audio in J2ME

I am trying to play a video (in simulator) by writing an application in J2ME. I am able to play the audio associated with it, but cannot play the video. Can someone tell me the relative settings (file location, type of simulator,sdk etc..,) to be…
srini vas
  • 11
  • 1
1
vote
1 answer

Implement video streaming in java me using rtsp

I want to implement video streaming in java me using rtsp url. When tested the code on devices, I get Media Exception stating Prefetch Error-33. Here's my code private void startStreaming() { try { …
Chetan Khilare
  • 285
  • 1
  • 3
  • 14