Sample code showing how to log events to answer http://www.reddit.com/r/androiddev/comments/1crwsh/problem_logging_touch_events_to_sd_card/