Reputation: 7184
I am trying to pair an android app with a bluetooth device, I need to know which event is to be called when the connection with this bluetooth device is lost.
Upvotes: 1
Views: 3948
Reputation: 1111
You can use BroadCast receiver and capture the ACTION_ACL_DISCONNECTED event. See here for more details: How to programmatically tell if a Bluetooth device is connected? (Android 2.2)
Upvotes: 1