Have you read: http://developer.android.com/resources/articles/painless-threading.html ?
On Wed, May 18, 2011 at 11:55 PM, Hitendrasinh Gohil < hitendra.virtuei...@gmail.com> wrote: > hi, > > i have read this from google doc,"ANR"(Application not responding) happens > when , > > I)main thread("event thread"/"ui thread") doesnt respond to input events in > 5 sec > ii)broadcast receiver doesnt finish in 10 seconds. > > > in my application flow is like > > classA >thread>callback to classA with data>from classA activity is called > > which is called the main thread in above scenario? > in this case what happens? > > > > > -- > Regards, > Hitendrasinh Gohil > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en