I am using AndEngine in application which is in landscape orientation. After executing my app I am turning off the device and again turning it on. After rotate the device to portrait mode I am unlocking the screen. Then my application is finished.
I have next sequence execute methods before recreate activity
02-06 16:13:57.317: W/OnCreate(2722): Tadammmmmmmmmm!!!
02-06 16:13:57.356: W/onLoadEngine(2722): Tadammmmmmmmmm!!!
02-06 16:13:58.270: W/onStart(2722): Tadammmmmmmmmm!!!
02-06 16:13:58.457: W/onResume(2722): Tadammmmmmmmmm!!!
02-06 16:13:58.942: W/onWindowFocusChanged(2722): Tadammmmmmmmmm!!!
02-06 16:13:58.942: W/onLoadScene(2722): Tadammmmmmmmmm!!!
02-06 16:13:59.122: W/onLoadComplete(2722): Tadammmmmmmmmm!!!
02-06 16:13:59.129: W/onResumeGame(2722): Tadammmmmmmmmm!!!
02-06 16:14:31.965: W/onPause(2722): Tadammmmmmmmmm!!!
02-06 16:14:32.137: W/onStop(2722): Tadammmmmmmmmm!!!
02-06 16:14:32.598: W/onWindowFocusChanged(2722): Tadammmmmmmmmm!!!
02-06 16:14:43.536: W/onDestroy(2722): Tadammmmmmmmmm!!!
Then I am have next sequence after rotate device, but before unlock screen
02-06 17:44:05.661: W/OnCreate(8784): Tadammmmmmmmmm!!!
02-06 17:44:05.684: W/onLoadEngine(8784): Tadammmmmmmmmm!!!
02-06 17:44:06.067: W/onStart(8784): Tadammmmmmmmmm!!!
02-06 17:44:06.122: W/onResume(8784): Tadammmmmmmmmm!!!
02-06 17:44:06.145: W/onPause(8784): Tadammmmmmmmmm!!!
02-06 17:44:07.942: W/onStop(8784): Tadammmmmmmmmm!!!
Then I am have next sequence after unlock screen
02-06 17:44:12.387: W/onStart(8784): Tadammmmmmmmmm!!!
02-06 17:44:12.450: W/onResume(8784): Tadammmmmmmmmm!!!
02-06 17:44:12.543: W/onPause(8784): Tadammmmmmmmmm!!!
02-06 17:44:12.551: W/onStop(8784): Tadammmmmmmmmm!!!
02-06 17:44:12.590: W/onDestroy(8784): Tadammmmmmmmmm!!!
I do not understand what need for full recreate activity, and do not change orientation from landscape to portrait. Question is - why activity is not recreate full and finished.
I'm find answer - add in manifest android:configChanges="...|screenSize" for do not recreate my activity.