Hi,
   I need some help on SurfaceView for games. I use a SurfaceView in
my game and set a render for it. In the render I use some native call
from my native lib to draw the screen using opengl. This game uses
landscape mode and I lock the mode in my manifest.
   But ifI press powerbutton on my phone when I was in the game, the
phone will shut off the screen and get into the locked mode. So I
active it again, the screen will be back in portrait mode and locked.
If I press menu to unlock, only part of the screen will be rendered,
and the other part is dark.
   This happenes when I was testing on G2, but G1 seems to be working
fine.
   If anyone has idea about this?

Thank you.

-- 
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

Reply via email to