Hi,

Use Bitmap.compress() and store the bitmap in PNG. That's what the
Home screen does.

On Fri, May 29, 2009 at 5:08 AM, Mike Lanin <[email protected]> wrote:
>
> Hi, guys!
> I want to store pictures from the internet in my data base as byte
> arrays. I get the pictures as bitmaps, but can't find way to convert
> it to byte array.
> Thanks in advance.
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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