@Override protected void onResume() { SFLogger.d(TAG, "onResume"); super.onResume(); this.gameSound.play(); this.beginAdTimer(); }
@Override protected void onStop() { SFLogger.d(TAG, "onStop"); super.onStop(); EasyTracker.getInstance(this).activityStop(this); this.gameSound.release(); this.surfaceView.setRenderState(HithamsterView.RENDER_STATE.RENDER_STATE_STOP); }
@Override protected void onPause() { SFLogger.d(TAG, "onPause"); super.onPause(); this.gameSound.pause(); this.surfaceView.setRenderState(HithamsterView.RENDER_STATE.RENDER_STATE_STOP); this.stopAdTimer(); }
@Override public void onCreate(Bundle savedInstanceState) { SFLogger.d(TAG, "onCreate"); super.onCreate(savedInstanceState); this.setContentView(R.layout.activity_hithamster); this.findView(); this.setListener(); this.gameSound = new GameSound(this); }
@Override protected void onStart() { SFLogger.d(TAG, "onStart"); super.onStart(); EasyTracker.getInstance(this).activityStart(this); }