the Code Snippet following :

mCamera = Camera.open();

mCamera.setPreviewCallback(mPreviewCallback);

Camera.PreviewCallback mPreviewCallback = new Camera.PreviewCallback()
{

                @Override
                public void onPreviewFrame(byte[] data, Camera camera) {
                                Log.d(TAG, "onPreviewFrame! data is " + (data 
== null ? "null!" :
"ok!"));

                                Here, i want to convert data to image/
bitmap, how to do ?

                                }
                        }
                }

        };
--
Best Regards!

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to