Ok I found it,
android:configChanges="orientation" on manifest solves the
problem ....


On Apr 8, 9:12 pm, sotcha <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to