Stoyan Damov wrote: > Am I supposed to wrap ALL my code in exception handlers?
For a true production app that you're trying to get paid for? I'd definitely do that if I had the INTERNET permission, so I could log whichever exceptions I can to a Web site. Not all will get logged (e.g., can't get an Internet connection at the time), but some is better than none. Having stack traces from the field is hugely useful when you can get 'em. I think you can use Thread.setDefaultUncaughtExceptionHandler() to register a common handler, though I haven't tried it on Android. See more here: http://www.javaspecialists.eu/archive/Issue089.html Forgive me if you're already taking this approach -- I haven't read all your posts on your on-upgrade woes because, um, you've posted quite a few of them... ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
