This example MIDlet shows you how to use the Mobile Media API (MMAPI) to play audio and video. In addition, the MIDlet shows you how to check MMAPI and media support on the device by using system properties.
Figure: MediaList view of the Media Sampler MIDlet
For a tutorial that shows you how to create this MIDlet, see section Example: Creating a multimedia player.
This MIDlet is compatible with Series 40 3rd Edition FP2 and S60 3rd Edition FP2 devices and newer.
This MIDlet has been tested on the following devices:
Nokia Asha 305 (Java Runtime 2.0.0 for Series 40)
Nokia X3-02 (Series 40 6th Edition FP1)
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet consists of the following packages and classes (click to view the full source code):
com.nokia.example.mmapi.mediasampler
com.nokia.example.mmapi.mediasampler.data
com.nokia.example.mmapi.mediasampler.model
com.nokia.example.mmapi.mediasampler.viewer