Android Question monitor keyboard

Discussion in 'Android Questions' started by catyinwong, Jul 19, 2019.

  1. catyinwong

    catyinwong Active Member Licensed User

    I would like to write an app which can run in background and monitor what the user types with the keyboard. Is there any library which I should start with?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Regular apps cannot do it. You can implement an accessibility app however it will only work if the user will enable your app. Search for accessibility service.
     
  3. catyinwong

    catyinwong Active Member Licensed User

    Thank you Erel. Read through the accessibility service and notification listener, but still don't know how to reach what I need..

    In the example of the accessibility service thread it only teaches us to automatically send a whatsapp message but not to read one. And with the notification listener it only captures the received msg (i.e. those provokes notification) but no those which the user sends out..

    Any example code which can help me out? :(
     
  4. Erel

    Erel Administrator Staff Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice