Yes it should.

You even have in bitmap.congig, the possibility to retrieve the mime
type the factory found for this file :
http://developer.android.com/intl/de/reference/android/graphics/BitmapFactory.Options.html#outMimeType

Yahel


On 14 juin, 16:34, schwiz <[email protected]> wrote:
> ok thanks for the reply, so even though my byte array was created from
> a jpeg the bitmap factory will know what to do with it?  If so this is
> great news :)
>
> On Jun 14, 9:31 am, Yahel <[email protected]> wrote:
>
>
>
> > > Does Android have a native library that can make a jpeg from binary
> > > data from say, a json object?
>
> > Convert your json into a byte array(byte[]) and then use
> > BitmapFactory.decodeByteArray() :
>
> >http://developer.android.com/intl/de/reference/android/graphics/Bitma...[],
> > int, int)
>
> > Yahel

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