Android: can't use Bluetooth in AudioManager.MODE_IN_COMMUNICATION

315 Views Asked by At

Earlier (in Android 6) when I do this when connected headset:

audioManager.setMode(AudioManager.MODE_IN_COMMUNICATION);

I continue hear all sounds in my Bluetooth headset if it connected.

Now I do this, but after this I can't hear anything in headset. All sounds are played through the regular speaker phone!

setBluetoothScoOn(true) not help.

What missing?

1

There are 1 best solutions below

1
user19348533 On

this might help

 audioManager.isSpeakerphoneOn = false