Chapter 8. Movies and Music
Support for media, both audio and visual, will hopefully be an essential part of your next immersive Android application. Both industries are on the forefront of mobile usage, and many modern mobile applications are leveraging this technology to build thoughtful and engaging applications. To this end, I’ll get you started with the basics for Android’s video and music libraries in this chapter. I’ll also point out a few things you’ll need to be aware of as you build a background media playback service: movies, music playback, background service, and what to watch out for.
Movie playback on an Android device boils down to the
VideoView class. In this section, I’ll use a simple example application that will play ...