Re: [android-developers] Re: How to unload image from memory?

2010-08-10 Thread Jenus Dong
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 > use Bitmap.recycle() release native memory > use SoftReference save all images , will free these memory before out > of memory > > On 8月7日, 下

[android-developers] Re: How to unload image from memory?

2010-08-09 Thread bluedog
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 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 sa

[android-developers] Re: How to unload image from memory?

2010-08-07 Thread samspade79
Bitmap.recycle() ? On Aug 7, 10:12 am, Alex Xin 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