I'm currently trying to work with bluetooth and I'm having trouble
getting some of the broadcasts. I have currently
"android.permission.BLUETOOTH" permission set and the following intent
filters for my BroadcastReceiver.
<intent-filter>
<action
android:name="android.bluetooth.device.action.ACL_CONNECTED" />
<action
android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
<action
android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED" /
>
<action
android:name="android.bluetooth.device.action.BOND_STATE_CHANGED" />
</intent-filter>
I'm currently only getting:
android.bluetooth.device.action.ACL_CONNECTED
android.bluetooth.device.action.ACL_DISCONNECTED
Why aren't the other two being sent? Specially
android.bluetooth.device.action.BOND_STATE_CHANGED? I find that the
call disconnected is very slow at being called. I need it to be
immediate since I have music playing in the background and I want it
to be stopped before sound comes out of the phones speakers...
Thanks!
-Moto
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en