title: Disable sound just for one application
body: <p>Is it possible to turn off all sounds of just one app and to save the choice until the next start of the app?</p>
  
  <p>So I have a ToggleButton at the StartActivity and by pressing this Button, all sounds of the app should be deactivated, but sounds of other apps should still be working.</p>
  
  <p>I tried it with Preferences, using the SharedPreferences class, an xml file and so on, like in my book. But going through the introduction i realized, that the Preferences are just a way to save data permanent. <strong>So I would have to include for example on every Button with a sound an if-clause that checks if this or that saved preference for sound on/off is true/false and then activates/deactivates the sound?</strong></p>
  
  <p>I thought that it could be easier?</p>