> But don't ever let an exception fall through in the main thread that > runs your activities because your app will terminate with an > unfriendly "force close" dialog that users are conditioned to hate.
I don't agree with this advice. How are you going to fix problems if you stick your head in the sand. At least when you Force Close, you don't let the app continue in a potentially invalid state messing eveyrthing up. In my app, I let all RuntimeExceptions fall though and checked exceptions I propogte up as far as possible (possibly wrapped into my own exception class) and then display it in an AlertDialog at the very top of the call stack. -- 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