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


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.

Want to incorporate video and audio into your Android app? If so, then this course is for you. Join instructor Kevin Moore as he shows how to support video and audio playback using either the system widgets or ExoPlayer. Kevin begins by covering the Android multimedia framework, explaining how to work with AudioManager to control audio focus and volume, as well as how to play audio with MediaPlayer. Plus, learn how to work with the SoundPool class for preloading and playing audio, create a media-rich project with ExoPlayer—an application-level media player from Google—and more. Follow the coding examples throughout the course for hands-on learning.


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
  • Next steps

Taught by

Kevin Moore

Related Courses


Start your review of Android Development: Audio and Video

Never Stop Learning!

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

Sign up for free