onResum() and onStop()

On Fri, Apr 27, 2012 at 7:59 AM, Anderson Leite <[email protected]>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 to stop.
>
> Whats the best aproach here ?
>
> There is some callback/listener, something that is called when app is not
> being used, but still running ?
>
> If so, would be the right aproach just to mute the sound ?
>
> I am developing this game using cocos2d, but this does not sounds like a
> cocos2d question..
>
> Thanks in advance,
>
> Anderson
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Raghav Sood
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to