Getting information about user interaction from application
<p>I am working on an android application which can be used to capture the sequence of user interaction on device. 
This is to be done by an application, based on the users event a script  will be generated which can be used further to played back the records of events.
The application must have various button to start, pause, stop button for recording, script creation should also work according to button pressed.</p>

<p>There is a way to get this information from user?</p>
