• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Unable to play a sound with SoundPool

nissay

Newbie
I'd like to play some sounds when a receive a MIDI signal on my phone. Given a signal, the program performs an action (it plays a sound and it displays an image). The image is displayed but no sound is played.

I followed this tutorial as well as many others and found pretty much the same things.

But still, my code won't work. My code is in the file, maybe I missed something that I didn't notice.

Thank you for helping!
 

Attachments

Back
Top Bottom