Listener to record events, and an emitter to generate code for robotium