I have an Camera Shutter for my Android phone.
It is an bluetooth device which has one button and connect as a bluetooth keyboard to the phone. If button get pressed it sends keycode.enter and volume up.
My question is is it possible to intercept its message in an background service?
So far I read the keyevent is not available in background. But can I intercept the Bluetooth changes or something else? Some Ideas?
I would like to give a notification on press of the button. When its running as a background service.
Thanks and best regards