I tried this, but I don't get the full size image back from the
camera, just a 512x384 pixels. I am using the Developer Phone.
My code
final Intent imageCaptureIntent = new Intent
(MediaStore.ACTION_IMAGE_CAPTURE);
imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT,
Uri.fromFile(new File(Environment.getExternalStorageDirectory(),
"test.jpg")));
startActivityForResult(imageCaptureIntent, 1);
On Jul 15, 8:53 pm, Christine <[email protected]> wrote:
> I have seen a number of posts from people who had trouble retrieving a
> full size image from MediaStore.EXTRA_OUTPUT with code like
>
> Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
> pictureUri = Uri.fromFile(new File("/sdcard/
> picturefile.jpg"));
> intent.putExtra(MediaStore.EXTRA_OUTPUT, pictureUri);
> startActivityForResult(i, PICTURE_TAKEN);
>
> Should this code work? I mean, should this result in a file containing
> the picture?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---