title: How does the Android platform detect ANR problems?
body: <p>When an Android application is not responding, an ANR dialog would pop up. My question is: how does the Android platform detect ANR and make the decision to initiate such a pop-up dialog.</p>