Hi Luca,

As Anton told you, withouth the code in the onpause and onresume, hard
to tell if you're  doing something wrong.

One option might be to save the state of your app in onpause and then
restore that state in your onresume.

This way you could clean up all the bitmaps in the onpause and
recreate them in the onresume. Not very efficient but a sure-fire work-
around :)

I sure you already read Romain Guy's article but just to be sure :
http://www.curious-creature.org/2008/12/18/avoid-memory-leaks-on-android/

Yahel

-- 
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

Reply via email to