Camera application and MediaRecorder interfere
<p>I use <code>MediaRecorder</code> inside <code>Service</code> to record audio. When audio recording is in progress, and when I try to manually start camera, I got this:</p>

<p><img src="http://i.stack.imgur.com/miMuP.png" alt="enter image description here"></p>

<p>Sometimes my app crashes, and log says only "Process died".</p>

<p>How do I handle such situation, I mean, maybe to detect that camera app wants to record something, so that I can free <code>MediaRecorder</code>.</p>
