I have an Activity that has a GLSurfaceView.
I'm struggling to rewrite it so that I don't go to black screen after Home button, or coming back from a startActivityForResult ...
Ignoring that part, why does this happen:
I press Home button, and the following methods are triggered.
onSaveInstanceState onPause() onStop() onDestroy() onCreate() onStart() onResume() onPause() onStop()
All within an instant. It seems that it pauses/stops the Activity, then creates a new one, then pauses/stops that?
Why?