Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Android Development: Audio and Video

via LinkedIn Learning

Overview

Learn how to play audio and video from your Android app. Find out how to support video and audio playback using either the system widgets or Google ExoPlayer.

Syllabus

Android Multimedia
  • Create media rich apps with Android
  • What you should know
1. Android Multimedia
  • Why your app needs audio and video
  • Two ways to play: Android or ExoPlayer
  • Media locations: Local or streaming
  • Playing audio and video
2. AudioManager
  • AudioManager overview
  • Set the volume
  • Audio focus
  • Abandoning audio focus
  • Internet and WakeLock permissions
3. MediaPlayer
  • Setup
  • States
  • Loading files
  • Playing media
4. SoundPool
  • SoundPool overview
  • Load files with SoundPool
  • Play files with SoundPool
  • Hooking UI controls to SoundPool
5. VideoView
  • VideoView overview
  • Create a VideoView UI
  • Playing and pausing VideoView
6. MediaSession
  • MediaSession overview
  • MediaSession example usage
7. Playing Media in the Background
  • Channels
  • Notifications
  • Background services
  • Create MediaPlayer
  • Create stop and pause method
  • Create play method
8. Formats
  • Audio formats
  • Video formats
9. ExoPlayer
  • Overview and library setup
  • Initialization
  • Load and play media
  • Create video and audio player
  • Create media sources
  • Set up players
Conclusion
  • Next steps

Taught by

Kevin Moore

Reviews

Start your review of Android Development: Audio and Video

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.