Hello everybody. I'm trying to show a jpeg image stored in a byte
array on a ImageView object.
I'm sure that the byte array contains a jpeg image correctly because,
if I save it in a file, with another editor I can see it correctly.
For show the image I'm trying in this mode:
android.graphics.Bitmap a=
android.graphics.BitmapFactory.decodeByteArray(Data, 0, Data.length);
a.recycle();
android.widget.ImageView IVCamera=
(android.widget.ImageView)Live.findViewById(R.id.IVCamera);
IVCamera.setImageBitmap(a);
but does not work.
Do you know wich is the right way?
--
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