How to avoid ANR status

How to avoid ANR status?

E

Expert

Verified

Android permits the system to save the applications which are not responsive for a time period by displaying a status termed as ANR (that is, Application not responding). Methods must use the main thread for work, as it takes long time for the major thread to finish the task. The work must be classified and another thread named as child thread be employed for executing more tasks, as it takes minimum time. Main thread must give a handler for child threads to post back upon completion.

   Related Questions in Computer Networking

©TutorsGlobe All rights reserved 2022-2023.