Question

General question about playing audio from my android app through bluetooth device:

If I have my device paired with the bluetooth device, when I play the mp3 file from the app I am developing, will it automatically route to the bluetooth device?

If not can someone point in the direction of a tutorial on this subject?

Was it helpful?

Solution

Do you have any sample code? Or are you just brainstorming at this point?

With the correct permissions and calls, yes, it'll play through whatever the Android system determines as the primary media audio output.

Reference from Google on android.media: link

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top