When my ListActivity is active and I press the "back" button (in the
Droid simulator), my application stops with a runtime exception. The
stack trace looks like this:
ActivityThread.performDestroyActivity(IBinder, boolean, int, boolean)
line: 3421
ActivityThread.handleDestroyActivity(IBinder, boolean, int, boolean)
line: 3487
ActivityThread.access$2800(ActivityThread, IBinder, boolean, int,
boolean) line: 119
BinderProxy(ActivityThread$H).handleMessage(Message) line: 1896
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4363
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 860
ZygoteInit.main(String[]) line: 618
NativeStart.main(String[]) line: not available [native method]
And according to the log, there's a timeout when the ActivityManager
is trying to destroy my ListActivity:
W/ActivityManager( 56): Activity destroy timeout for
HistoryRecord{43d8cac8 com.shipmate/.EventList}
I verified with breakpoints in the debugger that the ListActivity
"onDetroy" method is never being called. What should be my next
debugging step?
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en