Sunday, 11 August 2013

Android libgdx app freezes after onPause() call - always

Android libgdx app freezes after onPause() call - always

The title is self explanatory. The problem occurs (always) when the user
presses the home button or the device turns into sleep mode (the screen
goes black). Whenever this happen the app totally freezes, but I can still
view the Activity. No exceptions are thrown.
Important aspects: I'm using a view that contains a LibGdx app (open gl)
and often set this view visibility to GONE.
My approach is that the LibGdx app isnt properly paused and/or resumed.
Any ideas?
Please ask for any piece of code if you need any more details!
Thanks in advance guys!
EDIT:
I've confirmed that this only occurs when the open gl view visibility is
set to GONE.

No comments:

Post a Comment