-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've got an OpenGL game with a SurfaceHolder being used to manage the screen.
If I use the HOME button to temporarily switch away from the game, I see the following sequence of callbacks: Press HOME -> onPause() surfaceDestroyed() onStop() Switch back to app -> onStart() onResume() surfaceCreated() This all seems normal. However, when I press the HANGUP button to switch the screen off, and then wake up the phone, I get the following: Press HANGUP to turn screen off -> onPause() surfaceDestroyed() Press HANGUP again to screen on, going to the screen lock page -> onResume() Deactivate screen lock, switch back to game -> nothing! Not only am I not informed that my application has become visible again, but I'm never informed that my surface has been created so I can start drawing on it again! Anyone know what's going on here? - -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ "Sufficiently advanced incompetence is indistinguishable from │ malice." -- Vernon Schryver -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksNKVgACgkQf9E0noFvlzh+6ACgiDklIyvPy+BWz/rWqvQStcsz Fx0AoJyw8ZEQCDvdcSgV0iIP4XukMklD =ijtu -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en