Don't do heavy work in the main thread and put tasks which require much processing (or long loops) into a seperate backgroudn thread.
http://developer.android.com/guide/practices/design/responsiveness.html#avoiding On Mar 30, 10:26 pm, ying lcs <ying...@gmail.com> wrote: > Hi, > > Can you please tell me how can I disable 'Sorry! Activity YYY (in > application XXXX) is not responding as I debugging my android inside > eclipse? > > Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---