Skip to content Skip to sidebar Skip to footer

Surfaceview Anr Onresume

I'm working on a Android game using SurfaceView, the game works fine, so I want to pause it when the user hits HOME key but when getting back the SurfaceView disappears(black backg

Solution 1:

Thx to this post why is my runnable giving ANR? I could solve the problem, I isolated the MainThread from the UI thread for further details check the best answer.


Post a Comment for "Surfaceview Anr Onresume"