title: How to mute camera shutter sound on android phone
body: <p>Is there any way to mute the camera shutter sound in Android (not rooted phone)?</p>
  
  <p>I use this code to mute my audio sound when taking picture:</p>
  
  <pre><code>  AudioManager mgr = (AudioManager)getSystemService(Context.AUDIO_SERVICE);
      int streamType = AudioManager.STREAM_SYSTEM;
      mgr.setStreamSolo(streamType, true);
      mgr.setRingerMode(AudioManager.RINGER_MODE_SILENT);
      mgr.setStreamMute(streamType, true);
  </code></pre>
  
  <p>I mute the sound and silent the phone. </p>
  
  <pre><code>mCamera.takePicture(null, null, photoCallback); 
  </code></pre>
  
  <p>then take the picture</p>
  
  <p>It's working on <code>HTC HERO, HTC Desire, Motorola ME860, MotoA953</code>. But when I tested it on <code>Samsung Tab p1000</code> and <code>Sony Experia R800i</code>, it's not working. Is there any other work around?</p>