hi all,

I have an application sending the voice output to the speaker.
I'd like to send the audio on a bluetooth earset when it is connected.

If I connect the wired earset, the audio is automatically routed to wired 
earset,
while if I have a bluetooth earset connected, the audio keep going
to the speaker.

(with a telephone call the bluetooth correctly get the audio)

>From what I understand, I must manually route the audio to the bluetooth,
but how?

I tested:

am.setBluetoothA2dpOn();

and

am.setBluetoothScoOn(true);

am is      

AudioManager am = (AudioManager) 
context.getSystemService(Context.AUDIO_SERVICE);

but anything goes to bluetooth, and by the way

am.isBluetoothScoOn()

returns false.

Do I need particular permission?
Any advice on the correct steps to have audio on bluetooth
(mono or stereo is the same ... quality is not a must).

thanks
Giammy


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to