Android enable Bluetoothheadset Microphone
<p>I'm making an app which can play music and can switch to talk mode. In talk mode, 
the user will speak into the microphone, and those spoken words will be played back to the speaker in realtime (using AudioTrack).</p>

<p>I've done this function with wired earphones by RecognitionListener </p>

<p>like this <a href="http://stackoverflow.com/questions/6372080/voice-recognition-as-a-background-service">link</a> but i add some code on fuction onBufferReceived(byte[] buffer) for AudioTrack</p>

<p>but on a bluetooth headset I can only play music using AudioManger.when i call speechRecognition intent it's work but detect noting from microphone. I think this is because the bluetooth headset microphone is only enabled during a call.</p>

<p>Is there any way to do this on bluetooth headset ?</p>
