How SurfaceHolder callbacks are related to Activity lifecycle?
Edit: if the targetSDK is greater than 10, putting the app to sleep calls onPause and onStop. Source I looked at the lifecycle of both the Activity and the SurfaceView in a tiny camera app on my gingerbread phone. You are entirely correct; the surface is not destroyed when the power button is pressed to … Read more