forceclose - Why does Android sometimes force close and sometimes restart? -


i notice while developing android application, when uncaught exception thrown due bug in app, doesn't force close app, resets main activity.

what circumstances cause happen?

the exception occurs in specific activity, dies. focus returned activity 1 higher in app's activity stack.

if activity isn't affected cause of exception in dead activity, process normal.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

java - How to create a Servlet Filter in Eclipse in the absence of web.xml? -

javascript - addthis share facebook and google+ url -