Saturday, December 29, 2012

[android-developers] Low resolution in camera.TakePicture

Hello,

I have an application that uses the Camera and SurfaceView to take pictures. When I take photos by Galaxy S2 or smaller devices the picture resolution is perfect. But when I try to take pictures by Galaxy S3 or tablets the picture resolution is too low. I use the following code:

camera.takePicture(null, callBack, callBack, callBack);

private PictureCallback callBack = new PictureCallback() {
@Override
public void onPictureTaken(byte[] data, Camera camera) {
if (data != null) {
savePhoto(data);
}
}
};

Any idea how to solve this? Thank you.

Sorry for my bad English.

Ítalo.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment