Method for monitoring touchscreen events of a handheld device, wherein - a monitoring application is provided, - at least one touchscreen event on a display screen of said handheld device is detected by means of said monitoring application, wherein said at least one touchscreen event is directed to a foreground application, wherein the foreground application is an application which is active on the handheld device, - event data is generated for said at least one touchscreen event by means of said monitoring application, wherein said event data comprises a time stamp of said at least one touchscreen event and an identification of said foreground application, - said event data is stored by means of said monitoring application, characterized in that - the position of the monitoring application in the architecture of hardware and software components of the handheld device is downstream of an operating system queue of the handheld device and upstream of the foreground application, - wherein said monitoring application comprises an invisible window comprising a window area on said display screen of said handheld device, wherein touchscreen events within and outside said window area are detected by means of said monitoring application, and wherein the invisible window is designed such that it remains above all other views, does not consume the at least one touchscreen event, and is sufficiently small such that invisible window does not gain automatic focus of the operating system, - and wherein said at least one touchscreen event is detected prior to distribution of said at least one touchscreen event to said foreground application, thereby providing accurate and high resolution time stamp data, wherein said time stamp comprises a temporal resolution that is smaller than 15 ms. - a monitoring application is provided, - at least one touchscreen event on a display screen of said handheld device is detected by means of said monitoring application, wherein said at least one touchscreen event is directed to a foreground application, wherein the foreground application is an application which is active on the handheld device, - event data is generated for said at least one touchscreen event by means of said monitoring application, wherein said event data comprises a time stamp of said at least one touchscreen event and an identification of said foreground application, - said event data is stored by means of said monitoring application, - the position of the monitoring application in the architecture of hardware and software components of the handheld device is downstream of an operating system queue of the handheld device and upstream of the foreground application, - wherein said monitoring application comprises an invisible window comprising a window area on said display screen of said handheld device, wherein touchscreen events within and outside said window area are detected by means of said monitoring application, and wherein the invisible window is designed such that it remains above all other views, does not consume the at least one touchscreen event, and is sufficiently small such that invisible window does not gain automatic focus of the operating system, - and wherein said at least one touchscreen event is detected prior to distribution of said at least one touchscreen event to said foreground application, thereby providing accurate and high resolution time stamp data, wherein said time stamp comprises a temporal resolution that is smaller than 15 ms.