コード例 #1
0
  @Override
  protected void onPause() {
    super.onPause();
    Timer.stopTimer();
    /*Calendar calendar  = Calendar.getInstance();
    mStopTime = calendar.getTimeInMillis();
    CAActivity.mTimeCalculation +=(int) mStopTime-mStartTime;*/

  }
コード例 #2
0
  @Override
  protected void onResumeFragments() {
    super.onResumeFragments();

    Timer.startTimer();
    /*Log.i("ChainNameActivity", "onResume");
    Calendar calendar  = Calendar.getInstance();
    mStartTime = calendar.getTimeInMillis();*/

  }