I'm assuming they didn't want to clutter the code. Mark
On Feb 11, 11:37 am, Jerry <[email protected]> wrote: > I am looking at the android LunarLander simple game example. I am > surprised that the drawing thread "Run()" does not involve any > efficient waiting. It just infinitely redraw the screen even if there > is no change on the Physics. > > Even though I did not find any responsive issue(Maybe it is because > message queue is processed at high priority?), I am quite assured that > it will waste a lot of cpu time (so is the battery consumption). Is > it the intended behavior of the example? Is there any difference on > the CPU time allocation to thread between Microsoft windows and > Android Os. I know if you do this on windows, It will consume > almost all the cpu time and slow down the system. > > Hope someone could enlighten me on this! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

