I am working on a Project for which I have to create a module which can capture the user actions(like touch coordinates, pressure applied, touch area etc.,). I need to implement this at the kernel level because I should be able to access the data across applications.[I have read that, we cannot collect user interactions and other related information that is not generated by our app.So I want a method/ module which will be monitoring all the applications.]
To put it simple, I have to design a method/module which can read the data collected by the sensors when the user uses the phone.
Can anyone help me with possible solutions for this?
[EDIT] After a discussion with my guide, I am required to add a background app for android rather than creating a custom kernel, because there are so many problems in implementing the custom kernels on a large scale....