Пример #1
0
  @Override
  protected void onDestroy() {
    super.onDestroy();

    // 종료시 타이머 멈춤
    cTimer.cancel();
  }
Пример #2
0
        @Override
        public void onFinish() {
          Intent intent;

          if (mPref.getCheckedTutorial() == true) {
            // 튜토리얼을 했을 경우
            intent = new Intent(AC_Loading.this, AC_Main.class);
          } else {
            // 튜토리얼을 안했을 경우
            intent = new Intent(AC_Loading.this, AC_Help_tutorial.class);
          }
          intent.putExtra("tutorial", true);
          intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
          startActivity(intent);
          overridePendingTransition(R.anim.fadein, R.anim.fadeout);
          cTimer.cancel();
          finish();
        }