Have you tried with Bitmap.copyPixelsToBuffer?

http://developer.android.com/reference/android/graphics/Bitmap.html#copyPixelsToBuffer(java.nio.Buffer)

Andreas

On Fri, May 29, 2009 at 1:08 PM, Mike Lanin <mike.la...@gmail.com> 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.
> >
>

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