开发者

Android:small size image taken by camera

开发者 https://www.devze.com 2023-03-25 22:20 出处:网络
I have called an intent by passing action \"android.media.action.IMAGE_CAPTURE\" i.e. intent.setAction(\"android.media.action.IMAGE_CAPTURE\");and the image I get is small size.and i want to get开发

I have called an intent by passing action "android.media.action.IMAGE_CAPTURE"

i.e. intent.setAction("android.media.action.IMAGE_CAPTURE");and the image I get is small size.and i want to get开发者_运维技巧 Full Sized image of 730X1115 size.How can I get that.


Have you tried using

Intent cameraIntent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);

Though both your code and this redirects you to the Native Camera there is been much difference with the quality considerations. May be you should give it a try.


I have scaled that image by giving the dimensions of the border in which it gets fit.

0

精彩评论

暂无评论...
验证码 换一张
取 消