RPradeep
RPradeep

Reputation: 7184

Bluetooth pairing in Android. Event to be called when connection is lost

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

Answers (1)

Dimitris Fousteris
Dimitris Fousteris

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

Related Questions