Free Android app covering all aspects of addiction, including prevention and treatment

Playing sound clips in your apps

Android soundpool icon

The SoundPool class lets you load a number of sound clips into a device’s memory. You can then play these sound clips on demand. You can even play a number of sound clips at the same time.

The clips are decompressed and decoded when they’re loaded so there’s no delay when you play them.

Our tutorial shows you how you can use the SoundPool class to play sound clips in your apps