Look at the logcat output... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware
On Tue, Apr 10, 2012 at 12:43 PM, Panam <[email protected]> wrote: > Hi, > > thanks for helping :) > Yes, I am totally aware of what ANR means. For what I can tell by > observing the DDMS thread view, there is not much CPU load, it rather seems > there is some kind of deadlock. > So my impression is that the main thread (or in this case the > java.lang.ProcessManager as there is no main thread in the adb output) is > somehow deadlocked in the Hashmap. > I'd like to understand why there is no "main" thead but just the > java.lang.ProcessManager thread (due to some Android internals?) and why it > is stuck in a JDK library class (Hashmap). > Maybe I am completely wrong and misinterpreting things. If somebody could > tell me how to shed more light on this (maybe using some profiling > technique) it would help a great deal. > > On Tuesday, April 10, 2012 3:47:33 PM UTC+2, Ali Chousein wrote: >> >> ANR means, you are blocking the main thread with some heavy >> calculations. Have you understood what is explained in the following >> link? >> http://developer.android.com/guide/practices/design/responsiveness.html >> >> ------------------------------------------------- >> Ali Chousein >> http://socialnav.blogspot.com | http://twitter.com/socialnav1 >> http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy >> http://www.codeproject.com/KB/android/PayGol-Android.aspx >> http://geo-filtered-assistant.blogspot.com >> > -- > 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 > -- 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

