April 2019
Beginner to intermediate
698 pages
15h 15m
English
In this chapter, we will study the SoundPool class and the different ways we can use it depending on whether we just want to play sounds or go further and keep track of the sounds we are playing. Then, we will put everything we will have learned into action by producing a cool sound demo app, which will also introduce us to a new UI widget: the spinner.
In this chapter, we will do the following:
SoundPool classSpinnerViewLet's get started.
The SoundPool class allows us to hold and manipulate a collection of sound effects: literally, a pool of sounds. The class handles everything from decompressing a sound file, such ...
Read now
Unlock full access