07/18/2022, 3:01 PM
Android - Open app when device F10 key press We built a USB device (Type-C) that connects to Android phone using charging input and pressing the F10 key on the phone. What I am looking for is to listen for a USB device and F10 key. When these detect our app must launch. (I think I can listen for USB using Broadcast receivers) Note: This must work in the background even when the phone is locked. My question is how can I listen for the F10 key when a USB device connects to the phone? Be aware that I want to open our app when the above...