The camera intent, android.media.action.IMAGE_CAPTURE uses a small picture
as a default.
You can get around that by specifying a file location for the picture.
Intent i = new Intent("android.media.action.IMAGE_CAPTURE");
File photo=new
File(Environment.getExternalStorageDirectory(), "123.jpg");
i.putExtra(MediaStore.EXTRA_OUTPUT,
Uri.fromFile(photo));
startActivityForResult(i, 1);
Hope this helps, I intend to write up a good snippet and how-to.
I use this in BFF Photo app to take pix to upload to Facebook.
http://www.facebook.com/BFFPhoto
Carmen
--
Carmen
http://www.twitter.com/CarmenDelessio
http://www.talkingandroid.com
http://www.twitter.com/DroidDrop
On Thu, Oct 1, 2009 at 9:37 AM, Isuru Samaraweera <[email protected]>wrote:
> Hi All,
> I want to capture much larger image than the current small image captured
> by the android g1 phone camera.Any clue???
>
>
> Thanks
> Isuru
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---