Q:

Android Game Loop - Thread or Handler?

I'm in the process of writing a simple game in Android and wondered whether there's any reason to choose between spawning a thread to run the game or to use a handler.  In my previous apps I always used handlers as I thought they were more efficient but the Lunar Lander sample game uses a separate thread so I'm unsure which is best.  
Can anyone shed any light on which this? 

A:

You do not want to do anything intensive in the UI thread or Android OS will intervene in which case your main game loop is most likely very resource intensive.

"To summarize, it's vital to the responsiveness of your application's UI to keep the UI thread unblocked. If you have long operations to perform, you should make sure to do them in extra threads (background or worker threads). "

-- Painless Threading from Android docs

