Jsr 135 - Mobile Media Api; Jsr 135 Mobile Edia Api - Motorola V3x Technical Manual

2 cameras; 320x240 display
Hide thumbs Also See for V3x:
Table of Contents

Advertisement

JSR 135 – Mobile Media API
JSR 135 Mobile Media API
The JSR 135 Mobile Media APIs feature sets are defined for five different types of media.
The media defined is as follows:
The new implementation of JSR 135 supports playback of more audio formats and
recording of time-based media – audio and video as well as still-image capture.
When a player is created for a particular type, it will follow the guidelines and control types
listed in the sections outlined below.
The code sample 2 shows implementation of the JSR 135 Mobile Media API:
JSR 135
Player player;
// Create a media player, associate it with a stream
containing media data
try
{
player =
Manager.createPlayer(getClass().getResourceAsStream("MP3.mp3
"), "audio/mp3");
}
catch (Exception e)
{
System.out.println("FAILED: exception for createPlayer:
" + e.toString());
}
// Obtain the information required to acquire the media
resources
Tone Sequence
Sampled Audio
MIDI
8
43

Advertisement

Table of Contents
loading

Table of Contents