O'Reilly logo

Android Apps for Absolute Beginners by Wallace Jackson

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

Chapter     12

Digital Audio: Providing Aural Feedback for UI Designs Using SoundPool

In the previous chapter on digital video, we covered the Uri, MediaPlayer, and MediaController classes, which you can also use with digital audio, which we are going to cover in this chapter. Since these classes are used in the same exact way with digital audio assets, I am going to show you how to use the Android SoundPool audio sequencing class in this chapter, so I can cover as many of Android’s new media classes as possible in this book.

If you want to play long-form digital audio, such as songs, albums, or audio books, you would use the Android MediaPlayer class along with the Android MediaController and URI classes, using the SeekBar widget, instead of ...

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