- Home /
Question by
RayJr · Sep 05, 2015 at 09:45 PM ·
androidminimizepowerhome button
Android, Game doesn't minimize when pressing power.
HI, When my Android game is running and I press the power button on my phone, the screen goes black (of course). However, When i press power again, the screen comes on and the game is still running. Normally, If i press power to make the screen shut off, then press power again, the screen comes on and it's asking me for my password.
The question is, how do I minimize the game when the user presses the power button. I basically want to simulate the same thing that happens when the user presses the home button.
Thanks!
Comment
I thought this would be a simple question. Has nobody encountered this?
did you figure out the problem? I am having the same issue. It causes things such as the keypad to not work correctly so I really need a fix.