How to avoid anr status?
Answer / Rajendra Singh Rana
ANR (Application Not Responding) can be avoided by ensuring that the main thread of your app is not blocked for too long. This can be achieved by performing heavy computations and network operations on a separate thread, using AsyncTask or other threading mechanisms. Additionally, you should avoid blocking the main thread when interacting with the UI.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the importance of settings permission in app development?
Explain me what is an intent?
What is action_view?
What are some of the disadvantages of android?
Why ttl (time to live) is required?
What is android application module?
Explain alertdialog in android?
What is android:oneshot?
What is a content provider? How is it implemented?
Does Android support the Bluetooth serial port p roflle?
What is app.iml/ directory?
Features of Android: