I\'d like to run an Android background service that will act as a keylistener from the home screen or when the phone is asleep. Is this possible?
From semi-related
While it is not possible to listen for hardware key presses directly in a service, you can sometimes listen for the effects of those key presses. For example, this answer describes how to infer volume key presses from changes in media volume.