I already Integrated my Application with ARCA. For there is no problem in
getting the Crash Report.

My Application organisation is in this way.

Home Activity with Dashboard.

When any Item in dashBoard selected he will go to next Activity (Each Item
in dashboard has different Activity)

For example User selected an activity which shows the List of entries in a
every month.

For example he selected the Month Jan then details to that Month will be
displayed in another Activity say Jan Activity.

Jan Activity shows the Data in Day wise may have some 30 records for that
Month.

When a user clicks on a Date (says 1 jan) Details will be shown in next
Activity for that Day say Day Activity.

This day activity will have some 10 records min.

User selects a Record and try to Edit in Edit Activity. But Edit Activity
had the Error.

What happends

When ARCA is implements is My Application is forced closed by showing a
Toast (Forced Closed is not Shown) when i use TOAST mode. Now If user want
to start the Application then he need to go to Launcher and start the
Application.

When not ARCA is implemented, my Application is forced closed by showing a
dialog. But many time i see that My Home Activity is being shown after
Crash. Why I dont know. If the Home Activity is being shown that means
Android Environment is restarting the Main Thread (Looper) and the
Application is not Blocked. I think the Application is restarted.

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.






*Thanks & Regards,*
*Vivek Khandelwal*
*Mob: 8056062979*



On Sat, Mar 24, 2012 at 9:37 AM, mcterry <[email protected]> wrote:

> Can you show some examples of your Activities (we don't need the logic,
> just need to see the organization).
>
> Also, where have you implemented the uncaught exception class?  Where were
> you trying to use the Looper at?
>
> Let me know how I can help! :)
>
> www.sep.com/mcterry
>
> On Thursday, March 22, 2012 12:44:15 AM UTC-4, Vivek Khandelwal wrote:
>>
>> I want my Application to show Custom Dialog When an Uncatch Exception
>> occur.
>>
>> For that reason, I am implementing
>> Thread.​setDefaultUncaughtExceptionHan​dler.
>>
>> I am successfully able to handle all my uncatch Exceptions.
>>
>> And Try to show the Toast.
>>
>> But My Toast is not Displayed because my Main Looper (i.e My Main Thread)
>> is being stopped and My Whole Application get blocked.
>>
>> I tried to create a Alternate Main Looper when Main Looper is being
>> stopped. But for some reason my Alternate Main Looper does not get Any
>> Message in MessageQueue.
>>
>> Is there any other way to do that.
>>
>> What I need is to Show the Error to User and Close the Erroneous
>> Activity, Not my Whole Application.
>>
>> Or Else is there any way that I can Handle all the uncatch Exception in
>> an Activity.
>>
>  --
> 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
>

-- 
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