On Thu, Mar 22, 2012 at 8:59 PM, mcterry <[email protected]> wrote:

> When you override the uncaughtException() method, add in a Thread.sleep()
> in order to keep your Activity from getting closed immediately.


That would cause the main thread to block, preventing the error message
from being displayed, and causing an ANR on top of the force close.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to