I would really like to capture any screen touch/keypress if that is possible. I don't want to do anything to change it. Basically all I am after is to know that the user is there. UserPresent works most of the time but there are times when the screen will not be locked and I will need to take action based on know the user is actively present at the phone.
Sigh, thanks Erel. How about trapping an event that the notification window has been opened? Or one of the buttons pressed? Or is there a detailed list somewhere of the events that CAN be captured? That would be enormously handy.
All these events are not available in Android. Your best option is to Google for any such event. If you find a Java solution then in almost all cases it should be possible to implement it in Basic4android as well.