Code examples and code modules

PlayAudio – Demonstrating the MIDP 2.0 Media API and MMAPI (JSR-135)

This sample demonstrates how to use the Manager’s playTone() method, and how to create Players that play a tone sequence, or MIDI-, iMelody-, and AMR-formatted sound files. It also shows how to invoke the methods that change the Player’s operating state. Use the example code to guide you in writing your own audio applications.

Download PlayAudio – Demonstrating the MIDP 2.0 Media API and MMAPI (JSR-135) (16.6 KB)