title: Unable to access microphone when another app is using it in Android
body: <p>I'm using code from the following URL in order to get sound data from the microphone with AudioRecord:
  <a href="http://www.dreamincode.net/forums/topic/303235-visualizing-sound-from-the-microphone/" rel="noreferrer">http://www.dreamincode.net/forums/topic/303235-visualizing-sound-from-the-microphone/</a></p>
  
  <p>The problem I'm seeing is that if another app is also using the microphone, I'm getting an error (status -3) from AudioRecord. Everything works as expected if I kill the other app which is using the microphone. Is there an elegant solution to allow my app to access the microphone even if another app is already using it? </p>
  
  <p>Thank you.</p>