-
开启应用
-
04-28 14:32:55.962: I/MyStateChangeActivity(443): onCreate
-
04-28 14:32:55.992: I/MyStateChangeActivity(443): onStart
-
04-28 14:32:55.992: I/MyStateChangeActivity(443): onResume
最小化到后台
-
04-28 14:33:06.563: I/MyStateChangeActivity(443): onSaveInstanceState
-
04-28 14:33:06.563: I/MyStateChangeActivity(443): onPause
-
04-28 14:33:07.002: I/MyStateChangeActivity(443): onStop
再次开启前应用(因为应用此时在后台,因此不需要onCreate)
-
04-28 14:33:15.472: I/MyStateChangeActivity(443): onRestart
-
04-28 14:33:15.472: I/MyStateChangeActivity(443): onStart
-
04-28 14:33:15.472: I/MyStateChangeActivity(443): onResume
-
最小化到后台
-
04-28 14:33:28.102: I/MyStateChangeActivity(443): onSaveInstanceState
-
04-28 14:33:28.102: I/MyStateChangeActivity(443): onPause
-
04-28 14:33:28.563: I/MyStateChangeActivity(443): onStop
-
再次开启前应用
-
04-28 14:33:40.832: I/MyStateChangeActivity(443): onRestart
-
04-28 14:33:40.832: I/MyStateChangeActivity(443): onStart
-
04-28 14:33:40.832: I/MyStateChangeActivity(443): onResume
-
关闭(没有调用onSaveInstanceState)
-
04-28 14:34:18.222: I/MyStateChangeActivity(443): onPause
-
04-28 14:34:18.712: I/MyStateChangeActivity(443): onStop
-
04-28 14:34:18.712: I/MyStateChangeActivity(443): onDestroy