title: How to disable headset detection in android programmatically?
body: <p>I am working on an audio routing app which can direct audio between either headset and/or speaker of a phone. Is there any way I can <em>programmatically</em> <strong>stop</strong> headset <strong>detection</strong>?</p>
  
  <p><strong>EDIT</strong>: I am using a wired headset.</p>