String wrote: > On Apr 20, 12:47 pm, Mark Murphy <[email protected]> wrote: > >> It is entirely possible that your activities and application were >> destroyed while you were in the Maps and Home applications, to free up >> memory. > > Sure, that's the normal app lifecycle. But if this is the case, why > isn't the Activity's onCreate being called? To me, that's the > confusing part of this.
Whoops. I missed that part. If that's happening, that is very strange. The Application object should be the second-to-last thing to go -- if activities are in RAM, so should the Application, AFAIK. That being said, the *last* thing to go is static data members, since they'll only get cleaned up when the whole Dalvik VM is reset or the process is fully terminated. It may be worth a test to see if a static data member survives all of this. Something definitely is not adding up. My apologies for missing that part of the original post and not addressing it in my earlier reply. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.0 Available! -- 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

