質問

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?

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top