In your 'public void onPictureTaken(byte[] data, Camera camera)'
method
You have to create a BMP out of the 'data'. The 'data' is not JPEG. It
is RGB data (if i'm not mistaken).
Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length);
Then you compress the bitmap into jpeg.
Thanks, that actually did it for me. It does not explain however, why the
code worked in 1.5 and no longer in 1.6. Had there been some implicit
compressing that was dropped in 1.6?
2009/11/24 Streets Of Boston flyingdutc...@gmail.com
In your 'public void onPictureTaken(byte[] data, Camera
2 matches
Mail list logo