My goal is to create a system monitoring application using Java. I would like to know when a user does actions on a Windows PC. The result will be something like this:
8:00 - 8:15 activity
9:12 - 10:29 Activity
12:24 - 15:34 activity
I am not interested in any other information (which key was pressed, the application used, etc.). Only user activity.
Is this possible in Java? I plan to run a Java application as a service. But as for receiving events when a user uses a computer, I do not know where to start.
[Edit] Further clarification: I am not interested in the details of the activity, only that the user has moved the mouse or pressed a key. I don’t care which key was pressed, if I know that the key was pressed in the application somewhere. I also do not care about any other activity besides pressing a key and a mouse (for example, I am not interested in whether a USB key is inserted in the USB port).
java windows android-activity windows-services
Thierry-dimitri roy
source share