What are you specifying as the picture size in your Camera.Parameters?
On Sat, Dec 29, 2012 at 10:08 AM, Italo Mendonça Rocha
<italomr@gmail.com> wrote:
> 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
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Aqui estão alguns sites onde você pode perguntar ou responder dúvidas
sobre desenvolvimento de aplicações para Android:
http://www.andglobe.com
--
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