please override onPause, onResume, onDestroy here and call relative apis in Crosswalk.