bluedogCould you write some code sippet to show your mean, how does judge the condition of OutofMemoey, by platform, or by ourselves?
2010/8/8 bluedog <xuehui...@gmail.com> > use Bitmap.recycle() release native memory > use SoftReference save all images , will free these memory before out > of memory > > On 8月7日, 下午11时12分, Alex Xin <xinxi...@gmail.com> wrote: > > Hi, > > > > Are there any ways that I can unload unused images from memory? For > example > > I want to unload background pictures in order to save memory when my > > activity is going to background? > > > > I want to this because my app will force close on Nexus One, from the > logcat > > I found it was caused due to out of memory. > > > > Thanks > > > > Alex > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en