I want to know about ANR dialog in android applications and when it will happen and how to remove that.
Please help me.
I want to know about ANR dialog in android applications and when it will
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This dialog appears when the main thread of the application is blocked for too long, for example, when you sleep on this thread, or performing a long connection.
Avoiding it is done by moving the heavy operations to other threads. There’s a great article regarding the ways to implement that – Painless Threading.