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

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

by 신일석 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

'프로그래밍 > android' 카테고리의 다른 글

추상클래스를 사용하는 이유  (0) 2014.12.23
두 액티비티 간 생명주기  (0) 2014.12.23
클래스 변수의 용도  (0) 2014.12.18