Re: [android-developers] "Sound On/Off" Button - Muting app sounds Button

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 12:50 PM, Gabriel wrote: > I want to put this in my app, but I don't have any clue how to do that. > if (muteButtonPressed()) turnOffSound(); if (soundIsOn()) playSounds(); ---

[android-developers] "Sound On/Off" Button - Muting app sounds Button

2011-03-21 Thread Gabriel
Hey guys, I see in a lot of games this Button wich you can Mute the app sounds. I want to put this in my app, but I don't have any clue how to do that. 1 - It would be the same button to mute and unmute the sounds. Like in "NinJump" Game. 2 - It would change the button image. Like "Off"' when y