Re: [android-developers] Re: Custom Dialog for Force Closed Android
On Thu, Mar 22, 2012 at 8:59 PM, mcterry <macterry@gmail.com> 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 - 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home