Your SlideShare is downloading. ×
0
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Audio, video, and MIDI music playback on Series 40 phones
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Audio, video, and MIDI music playback on Series 40 phones

1,512

Published on

In this webinar, you’ll get an overview of how to handle media playback in Java™ apps running on Series 40 phones. We’ll cover the Mobile Media API (JSR-135) and Advanced Multimedia Supplements …

In this webinar, you’ll get an overview of how to handle media playback in Java™ apps running on Series 40 phones. We’ll cover the Mobile Media API (JSR-135) and Advanced Multimedia Supplements (JSR-234). Michael Samarin of Futurice will provide step-by-step guidance for including audio, video, and music (MIDI) playback features in your applications and games. He’ll explain techniques for playing media files downloaded to Series 40 phones and how your apps can consume streaming-media resources.

Published in: Technology
2 Comments
1 Like
Statistics
Notes
  • Webinar recording of 14 February session, with full chat commentary, is available here: http://forumnokia.adobeconnect.com/p2bp1ah6nix/
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Due to audio problems during the presentation we will not be publishing a recording of the 5 February session. We will publish a recording of the upcoming 14 February session. If you planned to but could not join us on 5 Feb don't worry. Watch the video of the 14 February session when it comes out and you'll still be eligible for the Learn and Win drawing.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
1,512
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
58
Comments
2
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. AUDIO, VIDEO, AND MIDI MUSIC PLAYBACK ONNOKIA SERIES 40 PHONESMichael SamarinDirector,Developer Training and EvangelismFuturice
  • 2. Media Playback on Series 40• Following JSRs allow developers incorporating and controlling media playback on Series 40:• Mobile Media API (MM API) (JSR-135)• Advanced Multimedia Supplements API for J2ME (AMMS API) (JSR- 234)• Both JSRs are available on all Series 40 devices, but with different capabilities• Check Nokia Device Matrix to find out supported features:• https://www.developer.nokia.com/Devices/Device_specifications/
  • 3. Documentation and Guides• Nokia Java Developer’s Library:• https://www.developer.nokia.com/Resources/Library/J ava• Specific Multimedia Guides:• https://www.developer.nokia.com/Resources/Library/J ava/-!developers-guides/multimedia.html• This webinar is short summary of the guides above and hands-on examples
  • 4. MM API javax.microedition.media Manager Data Source Player ControlInputStream or URL: Sampled audio PitchControl File Video RateControl Resource Tones StopTimeControl http VolumeControl rtsp … and many more
  • 5. Initializing playback• Static Manager creates instance of Player with associated DataSource (InputStream or URL)• Player has methods: realize() for initialization, prefetch() for buffering media and start() / stop()• It is possible to get asynchronous notifications about Player state with PlayerListener• Based on media type, Player can register dedicated Control classes• https://www.developer.nokia.com/Resources/Library/Java/- !implementation-notes/jsr-135-mobile-media-api/series-40-class- and-interface-description/content-types.html
  • 6. Audio players• Audio file over HTTP• Audio file of known MIME type from JAR• Audio file of known MIME type from RecordStore
  • 7. Tone players• Playing single tone• Generating tone sequence with ToneControl• Tone sequence from file in application JAR
  • 8. Video players• Playing video file from JAR on a Form• Playing video file from JAR on a Canvas
  • 9. Streaming and progressive playback• True media streaming is supported for RTSP sources (RTSP server required) and streaming access point• Progressive download and playback available for http:// and resource:// (but not file://) media locators• Requires Midlet JAD attribute • progressive_download: enabled• Or Player created with URL containing parameter: • streamable=true• Ability to use progressive playback over HTTP depends on device and requires experimenting
  • 10. HANDS-ON DEMO
  • 11. Thank You!Want to learn more?www.developer.nokia.com Michael Samarin, Director of Developer Training and Evangelism, Futurice

×