Hi,
    Try this to convert byte array to bitmap

      Bitmap bMap = BitmapFactory.decodeByteArray(data, 0,
data.length);//(Byte[] data)

On Sat, Sep 17, 2011 at 11:56 AM, Doug <[email protected]> wrote:

> Create the Bitmap in native code and return it to the java layer.  The
> NDK supports this starting beginning with Android 2.2.
>
> Doug
>
> On Sep 16, 12:02 am, Siji T G <[email protected]> wrote:
> > Thanks for the reply Zsolt.
> > My data stream comes from h264 video decoder , which is native.
> > Format of this data stream is  ARGB.
> > Please note that I could display this image correctly using
> > Bitmap. createBitmap()
> >  and
> > setPixels ()  .
> >
> > Regards
> > Siji
>
> --
> 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
>

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