Android:全局关键监听器
我正在编写一个 Android 应用程序,它将记录用户使用键盘(软键盘或硬键盘)的频率和时间戳(例如:家长通过向孩子提供时间戳和按键频率来检查孩子在学校期间是否发短信)。这不需要知道正在键入什么,只需知道何时键入某些内容即可。无论哪个应用程序使用键盘,它都需要正常运行。
I am writing an android app which will record the frequency and timestamps of when a user is using their keyboards (soft or hard) (Example: a parent checking to see if their child was texting during school by giving them timestamps and frequency of key presses). This wouldn't need to know what was being typed, just when something was typed. It would also need to function regardless of what app was using the keyboard.
这是不可能的,除非通过定制固件。
This is not possible, except perhaps via custom firmware.