I'm really sorry to insist :) It's just that I didn't find a definitive answer anywhere so I was really hoping somebody from Google could quickly answer.
Is there another intent to use or a parameter to the ACTION_IMAGE_CAPTURE one, to simply take a full-sized picture (should be 2048x1536 on the adp1)? I'd really like to know, because - correct me if I'm wrong - if the answer is that it's not currently possible, I'm gonna have to implement my own little 'Camera'-like app just to do that... Thanks a lot. BoD On May 5, 12:24 am, BoD <bodl...@gmail.com> wrote: > Anyone? > > Thanks for your help! > > BoD > > On May 4, 12:46 am, BoD <bodl...@gmail.com> wrote: > > > Hi! > > > Following this old > > thread:http://groups.google.com/group/android-developers/browse_thread/threa... > > > and this issue:http://code.google.com/p/android/issues/detail?id=1480 > > > I tried the following piece of code to take a picture on 1.5: > > > private void takePic2() { > > 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); > > } > > > It works but the resulting image is 512x384 (on the ADP1). > > > The doc says "If the EXTRA_OUTPUT is not present, then a small sized > > image is returned as a Bitmap object in the extra field. If the > > EXTRA_OUTPUT is present, then the full-sized image will be written to > > the Uri value of EXTRA_OUTPUT." > > > But 512x384 looks rather 'small-sized' to me! > > > So what is the correct way to get the full-sized version? > > > Thanks a lot for your help! > > > BoD > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---