본문 바로가기
프로그래밍/android

실행중인 액티비티의 상태를 확인하기

by 액션신 actionshin 2014. 12. 23.





실행결과 아래와 같이 액티비티의 상태를 확인할 수 있다.


TASK kr.co.actionshin.thisan12 id=6
  ACTIVITY kr.co.actionshin.thisan12/.ActivityA3 53663518 pid=957
    Local Activity 534e5630 State:
      mResumed=true mStopped=false mFinished=false
      mLoadersStarted=true
      mChangingConfigurations=false
      mCurrentConfig={1.0 0mcc0mnc en_US sw768dp w768dp h1232dp xlrg port finger qwerty/v/v dpad/v s.4}
    FragmentManager misc state:
      mCurState=5 mStateSaved=false mDestroyed=false

  ACTIVITY kr.co.actionshin.thisan12/.ActivityA2 5364aec8 pid=957
    Local Activity 534e21dc State:
      mResumed=false mStopped=true mFinished=false
      mLoadersStarted=false
      mChangingConfigurations=false
      mCurrentConfig={1.0 0mcc0mnc en_US sw768dp w768dp h1232dp xlrg port finger qwerty/v/v dpad/v s.4}
    FragmentManager misc state:
      mCurState=3 mStateSaved=true mDestroyed=false

  ACTIVITY kr.co.actionshin.thisan12/.ActivityA1 53648d28 pid=957
    Local Activity 534def38 State:
      mResumed=false mStopped=true mFinished=false
      mLoadersStarted=false
      mChangingConfigurations=false
      mCurrentConfig={1.0 0mcc0mnc en_US sw768dp w768dp h1232dp xlrg port finger qwerty/v/v dpad/v s.4}
    FragmentManager misc state:
      mCurState=3 mStateSaved=true mDestroyed=false

댓글0