As suspicious as it may look, I think it is very unlikely that the ANR is due too the infinite loop, and far more likely due to some issue with drawing into a Canvas on the a non-ui thread on the Galaxy Note. I believe this because the ANR does not occur if I remove the line "canvas.scale(.36f, .36f)".
On Tuesday, 1 May 2012 16:44:18 UTC-4, Miguel Morales wrote: > > Also, if you have a very tight infinite loop. The scheduler won't know > that there's a break for the processor so that it can do other things. You > may also want to add a Thread.sleep() call. > > On Tue, May 1, 2012 at 1:43 PM, Miguel Morales <[email protected]>wrote: > >> You may want to try lowering the priority of the thread and seeing what >> happens. >> >> >> >> On Tue, May 1, 2012 at 1:33 PM, Justin Anderson <[email protected]>wrote: >> >>> Because it demonstrates the issue. >>>> >>> I highly doubt it... Your app creates a thread that runs forever and >>> doesn't do anything? Sounds like you have a bug... >>> >>> >>> Thanks, >>> Justin Anderson >>> MagouyaWare Developer >>> http://sites.google.com/site/magouyaware >>> >>> >>> On Tue, May 1, 2012 at 2:27 PM, Ab <[email protected]> wrote: >>> >>>> Because it demonstrates the issue. >>> >>> >>> -- >>> 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 >>> >> >> >> >> -- >> ~ Jeremiah:9:23-24 >> Android 2D MMORPG: http://solrpg.com/, >> http://www.youtube.com/user/revoltingx >> > > > > -- > ~ Jeremiah:9:23-24 > Android 2D MMORPG: http://solrpg.com/, > http://www.youtube.com/user/revoltingx > -- 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

