Before you start
This tutorial describes the Java 2 Platform, Micro Edition (J2ME) Mobile Media API (MMAPI). You develop a MIDlet that takes advantage of the multimedia capabilities MMAPI provides.
The MMAPI allows easy and simple access and control of basic audio and multimedia resources on devices with limited memory and processing capabilities. This tutorial is intended to get you started. You need to have basic knowledge of J2ME to in order to understand the material.
The tutorial takes a basic approach to MMAPI, starting with an explanation of the MMAPI architecture, packages, and objects, and then showing you how to create an audio- and video-capable MIDlet.
For this tutorial, you need to install the J2ME Wireless Toolkit 2.0 (WTK; see Resources for a link). MMAPI comes with the Toolkit. The J2ME WTK provides a development and emulation environment for executing MIDP (Mobile Information Device Profile) and CLDC (Connected Limited Device Configuration)-based applications. J2ME 2.0 requires that you install JDK 1.4.
To execute the sample MIDlet, you'll need to download the MIDI file that accompanies this tutorial -- pattern.mid (see the downloads section for a link) -- and put it in <WTK Home>\apps\MediaMIDlet\res before you execute the program.

