O'Reilly logo

Android™ Development Patterns: Best Practices for Professional Developers by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12. Multimedia

Creating an application that can display data and take user input is fine; however, applications that contain video and audio can do much more than simply provide something to look at or listen to. By adding multimedia to your application, you can draw a user in and provide another dimension for user feedback and manipulation. In this chapter, you learn how to work with audio and video within your application.

Working with Audio

Audio is an almost ever-present obligatory addition to many of the applications and system functionalities of your Android device. Most notifications have an audio cue attached to them, as do messaging and contact applications.

Within the Android system, sound playback has been implemented with a variety ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required