How to detect if external mic is plugged in (in real time) on android?
<p>I need to detect if the external microphone is plugged in, but i need to do it in real time. Like when it is plugged in, i display "detected" icon, and when i unplug it, the icon should change to "not detected".</p>
