At the bottom of this post is a class I wrote that greatly simplifies using a SoundPool. You can load all of the sounds at once and then play them knowing only their resource ID.
SoundPool Class

Return to Code Snippets for Android
Users browsing this forum: No registered users and 6 guests