Android Question Callback in a Service?


Active Member
Licensed User
I'm trying to implement a callback ( in this case ble_CharacteristicChanged from the BLEextended library ) within a service, so the user can record heart beats even when the screen is turned off. But I can't get the service to listen for the callback. It seems that only the main activity can listen for it, even if the BLEmanager is declared in the service.

Is there any way to make a service listen for this callback?

Many thanks.