Just want to add one more thing: I printed out the instance count by "this.getInstanceCount()", the result is that the instance count is increased once the "restart()" is called, like 1, 2, 3, ..., which means the old instance is not killed. We need to kill the old instance in the newly restarted Activity.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

