ANR handling, show messagebox
<p>Is it possible for a class to listen to events which is triggered when ANR? My goal is to show the user a custom dialog, where the <code>stacktrace</code> is displayed with a button that allows the user to post the stacktrace to support. Do not care about the dialog, I can do this myself, I'm just interested in ANR handling(libraries or eventhandling) </p>

<p>Thanks! </p>
