I am standing a bit in the dark with the android.hardware.Camera
class.
What I tried to do is taking a picture without starting preview first:
Camera mCamera = Camera.open();
mCamera.takePicture(null, null, mPictureCallback);
In the callback routine I get JPEG data of fixed length, always 52K
long. It has the right resolution but it's all black (independent of
the real object!!). Do you know if this is a bug? Do I need to start a
preview before taking a picture? Can this be done from within a
service (no activity)?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---