One of the most popular uses for mobile devices is playing back audio through music streaming services, downloaded podcasts, or any other number of audio sources. While this is a fairly common feature, it's hard to implement, with lots of parts that need to be built correctly in order to give your user the full Android experience. In this tutorial you will learn about MediaSessionCompat from the Android support library, and how it can be used to create a proper background audio service for your users.


These are source files for the Envato Tuts+ tutorial: Background Audio in Android with MediaSessionCompat

Available on Envato Tuts+. Teaching skills to millions worldwide.