public void onResumeEvent(com.googlecode.gwtphonegap.client.event.ResumeEvent event) {
resumeEventSource.fire(new ResumeEvent());
}
});
event.getPauseHandler().addPauseHandler(new PauseHandler() {
@Override
public void onPause(com.googlecode.gwtphonegap.client.event.PauseEvent event) {
pauseEventSource.fire(new PauseEvent());
}
});