Android相机、相册获取图片显示并保存

上传者: tangren03 | 上传时间: 2021-07-05 17:20:10 | 文件大小: 1.01MB | 文件类型: ZIP
实现从相机拍照和相册选取图片显示并保存到本地SD卡操作Demo,避免了Bitmap导致的内存溢出

文件下载

资源详情

[{"title":"( 47 个子文件 1.01MB ) Android相机、相册获取图片显示并保存","children":[{"title":"PictureDemo","children":[{"title":".project <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"ryantang","children":[{"title":"picture","children":[{"title":"ImageTools.java <span style='color:#111;'> 9.22KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 216B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 195B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 212B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 268B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"ryantang","children":[{"title":"picture","children":[{"title":"BuildConfig.java <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 383.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"PictureDemo.apk <span style='color:#111;'> 196.01KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 40.16KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"ryantang","children":[{"title":"picture","children":[{"title":"R$layout.class <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 413B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 779B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"ImageTools.class <span style='color:#111;'> 9.53KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-de039f076d28621ca83600c1602db8e7.jar <span style='color:#111;'> 148.28KB </span>","children":null,"spread":false},{"title":"annotations-a6968887b4a4d8dc58c3ed4c47482f29.jar <span style='color:#111;'> 931B </span>","children":null,"spread":false}],"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 585.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • frank_9933 :
    非常感谢!学习了!
    2019-11-13
  • chinakenn :
    还不错,可以学习一下
    2019-06-16
  • ziyue_lover520 :
    不错不错 正好是我需要的 值得学习
    2019-02-20
  • qq_34395970 :
    安卓入门,很有可操作性
    2018-11-28
  • zgyfh :
    学习学习,感谢分享!挺好的!
    2018-09-25

免责申明

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