The data[] in onPreviewFrame() is still headerless in Android 1.5
(Cupcake) despite a long standing request to fix this: issue 832
http://code.google.com/p/android/issues/detail?id=823

On May 20, 9:04 pm, Max Salley <[email protected]> wrote:
> I'm using the Camera.PreviewCallback.onPreviewFrame to try to generate
> a bitmap from the byte array passed to that method.  If I use
> BitmapFactory.decodByteArray it returns null.  I'm assuming that the
> array is correctly formatted since the data just comes right from the
> camera, so what could the problem be?

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