Hi,

If someone knows please help me.

Thanks
Sohan Badaya


On Thu, Jul 29, 2010 at 8:12 PM, Sohan badaya <sohan.bad...@gmail.com>wrote:

> Hi All,
>
> I wrote a application that load images from facebook and i show in
> lmageview, using this below code.
>
>                                InputStream object = myDataFromServer;
>                                Bitmap
> bmpImage=BitmapFactory.decodeStream(object);
>                                imageView.setImageBitmap(bmpImage);
>
> it works fine for me. But the trouble is when i run my application for
> a longer time, it gives me error,
> OutofMemoryError, and becuse of this error my application crash.
>
>      so want to know is there any better way to handling
> images.please help me.
>
> Thanks,
> Sohan Badaya

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

Reply via email to