- Home /
Question by
dNSavar · Nov 09, 2011 at 10:17 PM ·
androidhome button
Android: Home button callback?
Hi All,
I generate texture in memory for my game and when pressing home button and receiving call or power off, I loose the OpenGL ES context (and loose my textures).
For power off, no problem, I regenerate textures in OnApplicationPause(false). But I receive nothing for home button(or when I receive a call).
I tried also GetKey/GetKeyDown/GetKeyUp with keyCode.Menu, nothing works.
Somebody has idea?
Comment