上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 32 下一页
摘要: 图片编辑 protected void onActivityResult(int requestCode, int resultCode, Intent data) { switch (requestCode) { case REQ_SELECT_PHOTO: { // 选取照片。 if (resu 阅读全文
posted @ 2021-05-10 21:03 谦寻 阅读(51) 评论(0) 推荐(0) 编辑
摘要: public static final int SELECT_PIC_BY_TACK_PHOTO = 1;//拍照获取 public static final int SELECT_PIC_BY_PICK_PHOTO = 2;//相册图片 //按钮们 private Button btn_take_ 阅读全文
posted @ 2021-05-09 21:02 谦寻 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 一些记录 distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip <?xml version="1.0" encoding="utf-8"?> <resources> <color name="c 阅读全文
posted @ 2021-05-06 20:01 谦寻 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 图片在客户端的预览出了问题,我觉得是图片地址的获取出了问题。 看了些博客,简单敲了些代码针对想法做了个测试。 弄了个小小的个人模板: import android.graphics.Bitmap; import android.graphics.BitmapFactory; import andro 阅读全文
posted @ 2021-05-04 22:58 谦寻 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 今天经提议翻了一些有关PictureSelector的博客,试着做了些记录敲了些代码。 PS Api功能汇总: PictureSelector.create(this) .openGallery()//相册 媒体类型 PictureMimeType.ofAll()、ofImage()、ofVideo 阅读全文
posted @ 2021-05-01 21:44 谦寻 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 自定义裁剪 package com.spring.sky.image.upload; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; imp 阅读全文
posted @ 2021-04-28 19:57 谦寻 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 拍照与相册上传。 权限添加: <!--拍照--> <uses-permission android:name="android.permission.CAMERA" /> <!--读写--> <uses-permission android:name="android.permission.WRIT 阅读全文
posted @ 2021-04-26 21:25 谦寻 阅读(42) 评论(0) 推荐(0) 编辑
摘要: Android 选择图片、上传图片之PictureSelector(测试版) PictureSelector.create(MainActivity.this) .openGallery()//全部.PictureMimeType.ofAll()、图片.ofImage()、视频.ofVideo()、 阅读全文
posted @ 2021-04-25 19:54 谦寻 阅读(48) 评论(0) 推荐(0) 编辑
摘要: PictureSelector的学习及测试 implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.5.8' PictureSelector.create(this) .openGallery(PictureMi 阅读全文
posted @ 2021-04-24 19:50 谦寻 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 团队项目有变,由原课题改为了云相册。 联网登录注册部分代码: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { S 阅读全文
posted @ 2021-04-22 22:29 谦寻 阅读(49) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 32 下一页