Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Android Development: Audio and Video

Android Development: Audio and Video

1h 46mIntermediate2019-04-16

Authors

Kevin Moore

Kevin Moore

Senior Android Developer for Pandora

Course details

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.

Learning objectives
Why your app needs audio and video
Controlling volume with AudioManager
Playing audio with MediaPlayer
Playing multiple sound files at once with SoundPool
Creating a VideoView UI
Playing media in the background
Audio and video formats
Working with ExoPlayer

Skills covered

Android DevelopmentAndroidMobile DevelopmentGoogleProject

Concepts

Android Multimedia

  • 01 - Create media rich apps with Android
  • 02 - What you should know

1. Android Multimedia

  • 03 - Why your app needs audio and video
  • 04 - Two ways to play - Android or ExoPlayer
  • 05 - Media locations - Local or streaming
  • 06 - Playing audio and video

2. AudioManager

  • 07 - AudioManager overview
  • 08 - Set the volume
  • 09 - Audio focus
  • 10 - Abandoning audio focus
  • 11 - Internet and WakeLock permissions

3. MediaPlayer

  • 12 - Setup
  • 13 - States
  • 14 - Loading files
  • 15 - Playing media

4. SoundPool

  • 16 - SoundPool overview
  • 17 - Load files with SoundPool
  • 18 - Play files with SoundPool
  • 19 - Hooking UI controls to SoundPool

5. VideoView

  • 20 - VideoView overview
  • 21 - Create a VideoView UI
  • 22 - Playing and pausing VideoView

6. MediaSession

  • 23 - MediaSession overview
  • 24 - MediaSession example usage

7. Playing Media in the Background

  • 25 - Channels
  • 26 - Notifications
  • 27 - Background services
  • 28 - Create MediaPlayer
  • 29 - Create stop and pause method
  • 30 - Create play method

8. Formats

  • 31 - Audio formats
  • 32 - Video formats

9. ExoPlayer

  • 33 - Overview and library setup
  • 34 - Initialization
  • 35 - Load and play media
  • 36 - Create video and audio player
  • 37 - Create media sources
  • 38 - Set up players

Conclusion

  • 39 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal