Search code examples
androidmediarecorderandroid-mediarecorder

Microphone's state


I am writing an application that uses MediaRecorder for recording audio. ( I use Android 2.1 )

  1. Before start recording I want to know the microphone's state (is it busy or no)?
  2. If the microphone busy, can I get exclusive access to it?

Thanks in advance!


Solution

  • Answer to 1 question: After reading many articles I realized that it was impossible.