Question

I recently obtained a bluetooth headset, and noticed that although Google Play Music detects when it pairs, and starts showing a 'switch between phone speakers and bluetooth headset' control, its manifest (as reconstructed by AppXplore) does not list any bluetooth permissions.

Does anyone here know what API it might be using for that, which doesn't require bluetooth permissions?

Or are Google cheating?

Was it helpful?

Solution

Gah. http://developer.android.com/reference/android/media/AudioManager.html#setBluetoothScoOn(boolean)

Here's hoping it also routes the microphone, which is what I'm really after..!

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