Friday, November 12, 2010

[android-developers] detect Bluetooth A2DP disconnection

Anyone know how I can detect when the Bluetooth audio is disconnected?
I want to be able to pause the currently playing audio when it's
disconnected, similar to how I do for the ACTION_HEADSET_PLUG intent,
but can't figure out how to do it for a Bluetooth device.

Any ideas?

cheers,
steve
--
stephen lau | steve@grommit.com | http://whacked.net | @stevel

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate