On Fri, Nov 5, 2010 at 2:09 PM, Andrei wrote:
> The default behavior from my observation is if current activity force
> closes Android tries to go to previous activity on stack
> How can I control this behavior?
You can't.
> I want force close to close all activities
Register a top-level Exception handler via
Thread.setDefaultUncaughtExceptionHandler(). This, rather than the
Android dialog, will get control when you blow up somewhere. There, do
whatever you want.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
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