capture keystrokes from background service in android

view story

http://androidforums.com – Hello All, These days i am working on android project in which need to grab all keystrokes using default keyboard. Main concern is my application runs in background as service and from my service i want to detect keystrokes in android. Is there any way to detect keystrokes from background in android. Any suggestion will appreciated. Thanks: Varun Bansal (General)