Multimedia - MediaSampler

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: MediaSampler MIDlet running on a Nokia Asha software platform device

For a tutorial that shows you how to create this MIDlet, see section Example: Creating a multimedia player.

Compatibility

This MIDlet is compatible with Java Runtime for Nokia Asha software platform (1.0) for Nokia Asha software platform devices and Series 40 3rd Edition Feature Pack 2 devices and newer.

This MIDlet has been tested on the following devices:

  • Nokia Asha 305 on Nokia Asha software platform (Java Runtime 2.0.0 for Series 40)

  • Nokia X3-02 (Series 40 6th Edition Feature Pack 1)

MIDlet project

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

Download MediaSampler

Table: MIDlet details

MIDlet version

1.1

Creation date

29 March 2012

IDE

Nokia IDE for Java ME (Eclipse) and NetBeans

SDK

Nokia Asha SDK 1.0 and Nokia SDK 2.0 for Java

MIDlet classes

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