Android user presses a key -


is there way register receiver app running in background when user presses key. kind of "action_user_present" if keys pressed on screen.

more detail: app running service in background. user opens phone , presses keys, searching online on driod. can capture key presses in background?

to detect whether user using device use information whether screen on or off approximation (making assumption screen timeout set). this blog entry shows how capture screen on , off events (i haven't done myself though).


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -