[android-developers] Re: Activity Lifecycle Cause Memory Leaking

2009-08-20 Thread brian.schimmel
I experienced similar problems. Depending on how you navigate back to your Activity, Android does not know that it should reuse the existing instance and creates a new one. You can fix this easily with the activities launch mode, which you set in the AndroidManifest.xml. Setting it to

[android-developers] Re: Activity Lifecycle Cause Memory Leaking

2009-08-06 Thread efan
Tested on both 1.5-R2 and R3, same result. On Aug 6, 10:22 pm, efan e...@efansoftware.com wrote: http://developer.android.com/reference/android/app/Activity.html The Activity Lifecycle could have implementation and or design bug: One case is to initialize a big image in onCreate(), try to