Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

Redirecting audio output through Bluetooth

[ Edited ]

I am trying to make the player redirect the audio through bluetooth.

I tested with standard gsm phone calls and the bluetooth device works perfectly being able to send and receive audio but in my app it cannot.

I tried all the constants AudioPathControl.AUDIO_PATH_xxx and it recognizes the bluetooth device both with AUDIO_PATH_BLUETOOTH and AUDIO_PATH_HANDSFREE but it always seem to use AUDIO_PATH_HANDSET internally.

 

 

----------------------------------------------------------------------
Press the button to give kudos if I helped you Smiley Happy
Developer
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

Re: Redirecting audio output through Bluetooth

One more thing - I was wondering if these bluetooth devices might depend on the audio codec? I am using PCM audio.
----------------------------------------------------------------------
Press the button to give kudos if I helped you Smiley Happy