android选择图片或拍照图片上传到服务器(包括上传参数)

上传者: liuliu131466 | 上传时间: 2019-12-21 18:51:22 | 文件大小: 72KB | 文件类型: 7z
最近要搞一个项目,需要上传相册和拍照的图片,不负所望,终于完成了! 不过需要说明一下,其实网上很多教程拍照的图片,都是缩略图不是很清晰,所以需要在调用照相机的时候,事先生成一个地址,用于标识拍照的图片URI

文件下载

资源详情

[{"title":"( 58 个子文件 72KB ) android选择图片或拍照图片上传到服务器(包括上传参数)","children":[{"title":"androidImgUpload","children":[{"title":"bin","children":[{"title":"classes.dex <span style='color:#111;'> 19.56KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"btn_style_alert_dialog_button_normal.9.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"icon.png <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_background.9.png <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_special_pressed.9.png <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_special_normal.9.png <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_button_pressed.9.png <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_cancel_normal.9.png <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"com","children":[{"title":"spring","children":[{"title":"sky","children":[{"title":"image","children":[{"title":"upload","children":[{"title":"MainActivity.class <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 948B </span>","children":null,"spread":false},{"title":"SelectPicActivity.class <span style='color:#111;'> 5.27KB </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"network","children":[{"title":"UploadUtil$OnUploadProcessListener.class <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"UploadUtil$uploadProcessListener.class <span style='color:#111;'> 266B </span>","children":null,"spread":false},{"title":"UploadUtil.class <span style='color:#111;'> 8.50KB </span>","children":null,"spread":false},{"title":"UploadUtil$1.class <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidImageUpload.apk <span style='color:#111;'> 38.86KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 26.64KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 871B </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"icon.png <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"btn_style_alert_dialog_button_normal.9.png <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"icon.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_background.9.png <span style='color:#111;'> 997B </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_special_pressed.9.png <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_special_normal.9.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_button_pressed.9.png <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_cancel_normal.9.png <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"btn_style_alert_dialog_special.xml <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_button.xml <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"btn_style_alert_dialog_cancel.xml <span style='color:#111;'> 315B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 182B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"anim","children":[{"title":"push_bottom_in.xml <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"push_bottom_out.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"push_bottom_in2.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"select_pic_layout.xml <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"spring","children":[{"title":"sky","children":[{"title":"image","children":[{"title":"upload","children":[{"title":"BuildConfig.java <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard.cfg <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":".settings","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"spring","children":[{"title":"sky","children":[{"title":"image","children":[{"title":"upload","children":[{"title":"SelectPicActivity.java <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false},{"title":"network","children":[{"title":"UploadUtil.java <span style='color:#111;'> 9.01KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 854B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 288B </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;'> 871B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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