So this function will provide the code a chance to handle the exception (e.g., POST it to a Web service) before the user click "Force Close" and kill the app?
On Jun 9, 2:41 pm, "Mark Murphy" <mmur...@commonsware.com> wrote: > > Unhandled exception will force close the app. How to collect these > > exception in the app? > > Use Thread.setDefaultUncaughtExceptionHandler() to register some code that > will get control on unhandled exceptions. > > At that point, though, it is up to you to figure out what you want to do > with the data (e.g., POST it to a Web service). > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---