Hi all,
I've a serious problem with bluetooth headset's management
In my app, i've added a functionality that if the user, long press HOME button (ASSIST intent), run my app and start the voice recognition
If the bluetooth headset is connected, the voice recognition sound is redirected into bluetooth device using the starBluetoothSco() method (AudioManager native library)
this works perfectly!
After which i added another intent (VOICE_COMMAND) that fired if starts a voice command with bluetooth headset (long press button of device)
In this case the method starBluetoothSco() doesn't work and the audio not heard in the headset
i've attached a test project that simulates the behaviour
can you help me?
This failure prevents the publication of my app on the store
Alberto
I've a serious problem with bluetooth headset's management
In my app, i've added a functionality that if the user, long press HOME button (ASSIST intent), run my app and start the voice recognition
If the bluetooth headset is connected, the voice recognition sound is redirected into bluetooth device using the starBluetoothSco() method (AudioManager native library)
this works perfectly!
After which i added another intent (VOICE_COMMAND) that fired if starts a voice command with bluetooth headset (long press button of device)
In this case the method starBluetoothSco() doesn't work and the audio not heard in the headset
i've attached a test project that simulates the behaviour
can you help me?
This failure prevents the publication of my app on the store
Alberto