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 <[email protected]>

> 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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> 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 [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