Re: [android-developers] Stop sounds after leaving app

2012-04-30 Thread Raghav Sood
*onResume() On Mon, Apr 30, 2012 at 5:21 PM, Raghav Sood wrote: > onResum() and onStop() > > > On Fri, Apr 27, 2012 at 7:59 AM, Anderson Leite wrote: > >> I am developing a game. This game starts a sound in the beginning and >> goes on during all the game. >> >> If I press Home button, and go to

Re: [android-developers] Stop sounds after leaving app

2012-04-30 Thread Raghav Sood
onResum() and onStop() On Fri, Apr 27, 2012 at 7:59 AM, Anderson Leite wrote: > I am developing a game. This game starts a sound in the beginning and goes > on during all the game. > > If I press Home button, and go to any area of android, the sound keeps > playing, until I really force the app t

[android-developers] Stop sounds after leaving app

2012-04-30 Thread Anderson Leite
I am developing a game. This game starts a sound in the beginning and goes on during all the game. If I press Home button, and go to any area of android, the sound keeps playing, until I really force the app to stop. Whats the best aproach here ? There is some callback/listener, something tha