Beware, there seems to be a bug in the Lunar Lander sample that comes with the Android SDK. It makes a bad assumption about the lifetime of the thread and the surface and it ends the thread in the surface destroyed event. However the thread is not recreated in the surface created event handler. Unfortunately this sample is suggested as a template for games. I struggled with this for a while getting app crashes. Someone else noticed, more here.





