How to force connect to a2dp Bluetooth device through an action or service

I use my Nexus One with Android 2.2 Froyo in my car dock. For audio output, I use the a2dp receiver, which is connected to my stereo system. Now, when I put the phone in the dock, it automatically connects to the dock, but not to my a2dp receiver, I connect it manually in the settings (already paired).

I also use a custom application for playing sound. Perhaps I can connect a2dp to the a2dp receiver. But as far as I know, the Bluetooth API by default does not support such a thing.

Is there any intention to establish a connection or in any other way? I also make an undocumented decision.

+5
source share
3 answers

I fixed this recently with the application volume A2DP. My problem was that my lg p920 on Android 2.4.5 connected to the speakerphone and a2dp stereo sound using the Sony mex bt3950ou stereo system (many other brands have the same problem).

As soon as the car was turned off and on again, i.e. when you turn the ignition from entering the system, the connection will be lost, and only the speakerphone will reconnect.

The A2DP volume can be configured to reconnect the stereo audio connection, see the instructions on the A2DP volume node.

+2
source

. BT-. BT Visor, . BB A2DP . , FM , , BT.

0
-1

All Articles