I run my application with camera functionality implemented in an
android-powered phone, but the camera image I got always has small
resolution. It seems by default, the android camera resolution is
small (e.g. 640*410), how to increase the resolution (e.g. to 1024 *
768), I use the following code to implement the camera part:
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);
any suggestions on this???
--
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