9jsr 135 mobile media api, Jsr 135 mobile media api – Motorola HANDSET C381P User Manual
Page 35
9
JSR 135 Mobile Media API
35
9
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:
• Tone Sequence
• Sampled Audio
• MIDI
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 4 shows the 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/mpeg");
}
catch (Exception e)
{
System.out.println("FAILED: exception for createPlayer:
" + e.toString());
}
// Obtain the information required to acquire the media
resources
try
{
player.realize();
}
- RAZR V3 (110 pages)
- C118 (60 pages)
- C330 (166 pages)
- C139 (26 pages)
- C139 (174 pages)
- T720i (112 pages)
- C380 (97 pages)
- C156 (106 pages)
- C350 (30 pages)
- C550 (110 pages)
- V80 (108 pages)
- C155 (120 pages)
- C650 (124 pages)
- E398 (120 pages)
- TimePort 280 (188 pages)
- C200 (96 pages)
- E365 (6 pages)
- W510 (115 pages)
- V60C (190 pages)
- ST 7760 (117 pages)
- CD 160 (56 pages)
- StarTac85 (76 pages)
- Bluetooth (84 pages)
- V8088 (59 pages)
- Series M (80 pages)
- C332 (86 pages)
- V2088 (80 pages)
- P8088 (84 pages)
- Talkabout 191 (100 pages)
- Timeport 260 (108 pages)
- M3288 (76 pages)
- Timeport 250 (128 pages)
- V51 (102 pages)
- Talkabout 189 (125 pages)
- C115 (82 pages)
- StarTac70 (80 pages)
- Talkabout 192 (100 pages)
- i2000 (122 pages)
- i2000 (58 pages)
- Talkabout 720i (85 pages)
- i1000 (80 pages)
- A780 (182 pages)
- BRUTE I686 (118 pages)
- DROID 2 (70 pages)
- 68000202951-A (2 pages)