Multimedia - Media Sampler

Description

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.

Compatibility

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)

MIDlet project

The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:

Download Media Sampler

Table: MIDlet details

MIDlet version

1.1

Creation date

29 March 2012

IDE

Eclipse and NetBeans

SDK

Nokia SDK 2.0 for Java

MIDlet classes

The MIDlet consists of the following packages and classes (click to view the full source code):