开发者

Android java touch battery icon

开发者 https://www.devze.com 2023-04-11 06:09 出处:网络
I have a weird problem. My android app runs fine I can open other programs and then reopen my app and it has no problem. When i touch the battery icon it closes and it resets all of my data. Does anyo

I have a weird problem. My android app runs fine I can open other programs and then reopen my app and it has no problem. When i touch the battery icon it closes and it resets all of my data. Does anyone know whats going on?

The basic setup of my app is from this tutorial. I'm having some p开发者_开发百科roblems when the application leaves focus it seems to drop out and crash randomly.


After searching through my code I found that my UpdateThread for my custom surface view was not restoring itself properly. So it was pausing and then not copying its values to a new thread when the app got focus again.

0

精彩评论

暂无评论...
验证码 换一张
取 消