C catyinwong Active Member Licensed User Longtime User Jul 19, 2019 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jul 21, 2019 #2 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. Upvote 0
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.
C catyinwong Active Member Licensed User Longtime User Jul 25, 2019 #3 Erel said: 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. Click to expand... 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? Upvote 0
Erel said: 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. Click to expand... 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?
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2019 #4 Notification listener is not related. Accessibility service: https://www.b4x.com/android/forum/t...th-disabilities-automation-etc.95216/#content I'm not familiar with any other example. Upvote 0
Notification listener is not related. Accessibility service: https://www.b4x.com/android/forum/t...th-disabilities-automation-etc.95216/#content I'm not familiar with any other example.