Android-Bluetooth: How to connect with bluetooth to a A2DP Profile to stream music over the speaker?

2.9k Views Asked by At

I want to connect from my phone to a bluetooth module with a A2DP profile. And then I want that the speaker of this module plays the music which I have on my phone.

I tried this example: A2DP Bluetooth Example

But when I run it, it gives me the error: Could not bind to Bluetooth A2DP Service

What can I do against this? Or can anyone give me another simple example for it?

0

There are 0 best solutions below