I'm trying to play a background sound in my Android application. I'm using a seperate class as a Soundmanager. And in my first activity, i start the sound and i want it to play through 2 other activitys. And in my third class i want it to stop and another sound should play. But im having a problem stopping that sound and don't know why. I guess it has something to do with that im using the class Context in my Soundmanager class.
Does anyone know how to make the sound stop? I'll link my Soundmanager class becuase that is the only one that is relevant i guess. Im pretty new to programming, so please be gentle.
Soundmanager class http://codepad.org/KJi6DZN6
See Question&Answers more detail:os