did you solve ? I've same problem

On 5 Mag, 00:24, 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to