Android自动聚焦、拍照、缩放标准大小的源码实现

上传者: yanzi1225627 | 上传时间: 2021-04-10 15:56:08 | 文件大小: 151KB | 文件类型: GZ
android手机自动聚焦、然后拍照,拍照的照片会缩放到标准大小。本人的源码,调试心得见:http://blog.csdn.net/yanzi1225627/article/details/7926994

文件下载

资源详情

[{"title":"( 38 个子文件 151KB ) Android自动聚焦、拍照、缩放标准大小的源码实现","children":[{"title":"testPhoto","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 11.39KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"yan","children":[{"title":"guoqi","children":[{"title":"testphoto","children":[{"title":"BuildConfig.class <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"TestPhotoActivity$3.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"TestPhotoActivity$5.class <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"TestPhotoActivity$BtnListener.class <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"TestPhotoActivity.class <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"TestPhotoActivity$4.class <span style='color:#111;'> 948B </span>","children":null,"spread":false},{"title":"TestPhotoActivity$2.class <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"TestPhotoActivity$CameraTimerTask.class <span style='color:#111;'> 992B </span>","children":null,"spread":false},{"title":"TestPhotoActivity$1.class <span style='color:#111;'> 716B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 33.94KB </span>","children":null,"spread":false},{"title":"testPhoto.apk <span style='color:#111;'> 41.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 178B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"yan","children":[{"title":"guoqi","children":[{"title":"testphoto","children":[{"title":"BuildConfig.java <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 943B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"yan","children":[{"title":"guoqi","children":[{"title":"testphoto","children":[{"title":"TestPhotoActivity.java <span style='color:#111;'> 8.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • 孤狼-狼迹天涯 :
    不错的DEMO,很有用,注意 图片参数:myParameters.setPictureSize(2048, 1152); //1280, 720需要哪找自己手机的参数设置,我开始使用demo时提示
    2020-04-10
  • 猪脚踏浪 :
    能用,功能不错
    2019-11-08
  • szhfsst :
    还是忘不了的流逝岁月,给个好评
    2019-03-10
  • 大哥NB :
    不错,是需要的
    2019-01-25
  • nblover :
    马马虎虎,用着还算顺利
    2018-12-26
  • Fire_King :
    感谢分享,值得学习的好东西
    2018-09-13
  • zt3000 :
    好像还不错可以看看!!
    2018-07-10
  • 游手好贤 :
    资源很不错,很值得学习!
    2018-03-31
  • yinchengjun :
    感谢分享,学习一下
    2017-09-26
  • 帽檐遮不住阳光 :
    我想实现自动连续聚焦后的拍照
    2017-03-01

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明