Android7.0之后的机型出现的相机调起闪退及相册获取不到图片的解决方案

上传者: xiangxiang_8_8 | 上传时间: 2019-12-21 22:00:56 | 文件大小: 2.73MB | 文件类型: rar
该压缩包中包含一个demo和一个说明文档,详细说明了针对7.0前后机型在相机和相册中获取图片的适配,如在demo中有不清楚的问题,可以参照说明文档。

文件下载

资源详情

[{"title":"( 85 个子文件 2.73MB ) Android7.0之后的机型出现的相机调起闪退及相册获取不到图片的解决方案","children":[{"title":"android7.0调取相机及相册相关","children":[{"title":"demo","children":[{"title":"openCameraAbove23Demo","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"anim","children":[{"title":"bottom_down_out.xml <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"bottom_up_in.xml <span style='color:#111;'> 347B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"busi_pop_up_window.xml <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"buttonstyle.xml <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"button_selector.xml <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"buttonstyle2.xml <span style='color:#111;'> 247B </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":"xml","children":[{"title":"filepaths.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"safecenter_middle.png <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"photofornt.png <span style='color:#111;'> 7.83KB </span>","children":null,"spread":false},{"title":"safecenter_top.png <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"indo_hand_photo.png <span style='color:#111;'> 8.31KB </span>","children":null,"spread":false},{"title":"safecenter_bottom.png <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"photoback.png <span style='color:#111;'> 10.23KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"Utils","children":[{"title":"ToastUtils.java <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"FastClickUtils.java <span style='color:#111;'> 1017B </span>","children":null,"spread":false},{"title":"DeviceUtil.java <span style='color:#111;'> 13.35KB </span>","children":null,"spread":false},{"title":"PhotoUtilsAbove23.java <span style='color:#111;'> 11.20KB </span>","children":null,"spread":false},{"title":"Constant.java <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":"opencameraabove23demo","children":[{"title":"MainActivity.java <span style='color:#111;'> 9.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"Utils","children":[{"title":"ToastUtils$1.class <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"PhotoUtilsAbove23.class <span style='color:#111;'> 9.67KB </span>","children":null,"spread":false},{"title":"Constant.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"DeviceUtil.class <span style='color:#111;'> 11.68KB </span>","children":null,"spread":false},{"title":"ToastUtils.class <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"FastClickUtils.class <span style='color:#111;'> 823B </span>","children":null,"spread":false}],"spread":true},{"title":"opencameraabove23demo","children":[{"title":"MainActivity$1.class <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Manifest.class <span style='color:#111;'> 420B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 1006B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 7.40KB </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 480B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"R$xml.class <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 433B </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 788B </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"Manifest$permission.class <span style='color:#111;'> 548B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"android-support-v4-ccd402aacfa495a14a5f9dd7e5ece5c7.jar <span style='color:#111;'> 445.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"safecenter_middle.png <span style='color:#111;'> 325B </span>","children":null,"spread":false},{"title":"photofornt.png <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"safecenter_top.png <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"indo_hand_photo.png <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"safecenter_bottom.png <span style='color:#111;'> 826B </span>","children":null,"spread":false},{"title":"photoback.png <span style='color:#111;'> 7.55KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </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}],"spread":true}],"spread":true},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 1.36MB </span>","children":null,"spread":false},{"title":"openCameraAbove23Demo.apk <span style='color:#111;'> 524.08KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 66.82KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"opencameraabove23demo","children":[{"title":"Manifest.java <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 12.26KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 175B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 9.29KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • xiaoyao_studio :
    运行不起来,有BUG
    2019-11-22
  • 灰色晴天 :
    运行不起来,有BUG
    2019-11-22
  • myboyer :
    谢谢,非常有用
    2018-01-18
  • MYBOYER :
    谢谢,非常有用
    2018-01-18
  • feiniao20146773 :
    不错哦,下次再来。
    2017-11-15
  • android-feiniao :
    不错哦,下次再来。
    2017-11-15
  • qq_33751443 :
    我的onRequestPermissionsResult和requestPermissions报错为什么?
    2017-09-30
  • 向阳-fighting :
    我的onRequestPermissionsResult和requestPermissions报错为什么?
    2017-09-30
  • junshangshui :
    你好,我用android7.1的模拟器拍照后,图库中看不到图片,请问怎么解决。android6.0又没问题
    2017-08-03
  • junshangshui :
    你好,我用android7.1的模拟器拍照后,图库中看不到图片,请问怎么解决。android6.0又没问题
    2017-08-03

免责申明

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