On 30 Set, 16:14, "Mark Murphy" <[email protected]> wrote:
> > i'm andrea from androidiani.com, i'm working on a library that will
> > help developers about managing unexpected exceptions.
>
> > The library is quite simple on it's idea, but i can't grab the
> > unexpected exception withouth the use of a "global" try catch
> > clausole.
>
> > I saw the instrumentation class but i think it can't be useful for
> > me..
>
> > Obviously the library will be free and the webservice too.. ( unless
> > for the applications that generates quite low traffic ) But i
> > personally don't love the way of global try catch..
>
> I do not know what you mean by "global try catch".
>
> Are you referring to Thread#setDefaultUncaughtExceptionHandler()?
>
> http://developer.android.com/reference/java/lang/Thread.html#setDefau...)
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html
Many thanks man :)
How did you find it? I searched it for a couple of hours ( Obviously
not in Thread class reference ) ..
Next, probably newbie, question:
If i launch "n" Activities i'll always have the same thread , in this
scenario i will need to call setDefaultUncaughtExceptionHandler only
once per application right ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---