Re: [android-developers] Re: Custom Dialog for Force Closed Android
On Fri, Mar 23, 2012 at 11:54 PM, Vivek Khandelwal <vivek.b.khandelwal@gmail.com> wrote:
So fix that error so it doesn't happen using the information you get from ACRA. Honestly, that will be the fastest and easiest course of action. Instead of trying to die gracefully, don't die at all.
User selects a Record and try to Edit in Edit Activity. But Edit Activity had the Error.
So fix that error so it doesn't happen using the information you get from ACRA. Honestly, that will be the fastest and easiest course of action. Instead of trying to die gracefully, don't die at all.
I have an Idea for this,What can i do is save the Current Activity and its state in cache. When an error occurs I will send a broadcast to start the Activity in cache(How to send broadcast after Crash i dont know). But the Activity Stack will not be maintain. So when user will press back he will come out of application. I am not sure will this idea works. But Something like this will be a solution for me.
My best advice to you: stop wasting your time on this. You are going to run into many problems trying to get this to work, if you even manage to. And for what? To make a crappy user experience only slightly less crappy? If your app is crashing at stage 4 in a sequence of activities, your main focus should be to prevent the crash, not try to put the user back at stage 4 hit the crash again.
-------------------------------------------------------------------------------------------------
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