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, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -