[android-developers] executing code while screen is black because of power button
I have a landscape game.
So when I press power button, screen turns to black abd game's
activity executed onPause() and onDestroy(). After a while it is
executing onCreate(), onResume() and the game starts normally , but
the screen is still black !!!
How can I prevent starting the game with black screen ?
Is possible to prevent onDestroy() ? Because it is destroying the
game !!
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home