Bump - I have this exact same problem.. I can't get the full size image, Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
i.putExtra (MediaStore.EXTRA_OUTPUT,MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString ()); The intent that comes back with onActivityResult only has the "data" key and not the key for "extra output"...in fact I have to _save_ the bitmap manually for it to even show up on my SdCard. On Aug 21, 2:09 am, Friso <friso.kl...@gmail.com> wrote: > 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 <christine.kar...@gmail.com> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---