Unable to hear the audio in Bluetooth head-set in my Android Application
<p>Im developing an Android SIP application in Tablet. I am able to Initiate and Receive calls from my Android application. But the problem is when i connect Bluetooth headset to my Tablet audio quality[when im in call] is too bad in Bluetooth headset. </p>

<pre><code>I made the following configuration in AndroidManifest.xml

uses-permission android:name="android.permission.BLUETOOTH"

uses-permission android:name="android.permission.BLUETOOTH_ADMIN" 

uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"



To the AudioManager object i have set the following things

AudioManager localAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); //audio manager class
localAudioManager.setMode(0);
localAudioManager.setBluetoothScoOn(true);
localAudioManager.startBluetoothSco();
localAudioManager.setMode(AudioManager.MODE_IN_CALL);

What should i do to hear the Clear voice in my Bluetooth headset when im in call?

Does it require any code changes on top  of SipAudioCall Object for Bluetooth?

Or setting the frequency for voice clarity is required, if yes how can i set?

If any body have code for Bluetooth application please send me the code..

Thank in Advance.
</code></pre>
