title: Android: Forcing external microphone (jack input 3.5mm) to stay on
body: <p>How do I force the Android system to select the 3.5mm Jack as my microphone source? I am using the AudioRecord class to do the recording. </p>
  
  <p>I am using an external Microphone. When it is detected all works well, but sometimes the external microphone is not detected automatically. A TRRS splitter (cheap $3 thing) is used to split the 3.5mm Jack into separate Mic and Headphone jacks (I need simultaneous recording and playback). </p>
  
  <p>The AudioManager.setWiredHeadsetOn() is deprecated and instructions say not to use it. </p>
  
  <p>1) Do I maybe need additional external hardware to provide the correct microphone impedance?</p>
  
  <p>2) Can I force the input in code?</p>
  
  <p>3) Can a custom ROM archive audio control at this level - maybe this is the best option? </p>
  
  <p>Thanks</p>