从手机相册/拍照获取照片,并以缩略图显示

上传者: guokezhiai | 上传时间: 2021-05-27 10:53:08 | 文件大小: 190KB | 文件类型: ZIP
将微博中获取图片功能单独摘出,可选择从手机相册或者相机拍照获取并以时间戳命名最后拍照所得相片,并以自定义缩略图形式显示主Activity中。 注意:一:相机路径检索可能因手机而异出现偏差 二:相机拍照现在自定义存放在sdCard根目录中,可更改

文件下载

资源详情

[{"title":"( 49 个子文件 190KB ) 从手机相册/拍照获取照片,并以缩略图显示","children":[{"title":"WeiboText","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 16.21KB </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":"newblog_pic_sel.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"newblog_pic.png <span style='color:#111;'> 1.13KB </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":"com","children":[{"title":"hwtt","children":[{"title":"activity","children":[{"title":"BuildConfig.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"WeiboTextActivity$1.class <span style='color:#111;'> 1017B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"BaseActivity.class <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"WeiboTextActivity.class <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"WeiboTextActivity$2.class <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"comm","children":[{"title":"FileUtils.class <span style='color:#111;'> 5.13KB </span>","children":null,"spread":false},{"title":"MediaUtils.class <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"InfoHelper.class <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"StringUtils.class <span style='color:#111;'> 688B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resources.ap_ <span style='color:#111;'> 37.06KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"WeiboText.apk <span style='color:#111;'> 47.30KB </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;'> 184B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"imagechoosebutton_bg.xml <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"newblog_pic_sel.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"newblog_pic.png <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 698B </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":"com","children":[{"title":"hwtt","children":[{"title":"activity","children":[{"title":"BuildConfig.java <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 993B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 88B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"hwtt","children":[{"title":"activity","children":[{"title":"WeiboTextActivity.java <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"BaseActivity.java <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"comm","children":[{"title":"MediaUtils.java <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"StringUtils.java <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"FileUtils.java <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false},{"title":"InfoHelper.java <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1024B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • WindKun :
    不错的资源可以参考
    2018-10-26
  • lin568217657 :
    不错,使用还好
    2016-11-17
  • wangyisb123456 :
    实现的功能很简单,可以用到项目中,页面图片一多就内存不足
    2016-08-19
  • yangsanjun :
    值得参考,谢谢分享!
    2015-12-14
  • boboimbajava :
    错,感谢分享好东东,已经加到项目里去了,不然,页面图片一多就内存不足,关键是不用自己写
    2015-08-11

免责申明

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