ANR is short for Application Not Responding. Android systems shows this dialog, if application is performing too much of task on main thread and been unresponsive for a long period of time.
ANR in application is annoying to user. It can be caused due to various reasons. Below are some of the tips to avoid ANR
Perform all you long running network or database operation in separate thread
If you have too much of background tasks, then take it off the UI thread. You may use IntentService
Server not responding for longer period can be guilt for ANR. To avoid always define HTTP time out for your all your webs service calls.
Be watchful of infinite loops during your complex calculations
Liked By
Write Answer
What is a ANR ?What are the measures to avoid application ANR?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
08-Jun-2015