摘要:
public class PathManager { //自定义相机存储路径(图片经过剪裁后的图片,生成640*640) public static File getCropPhotoPath() { File photoFile = new File(getCropPhotoDir(),System.currentTimeMillis() + ".jpg"); ... 阅读全文
posted @ 2015-12-10 15:02
Pace千雨
阅读(577)
评论(0)
推荐(0)
摘要:
比如,项目中调用相,返回一张图片一眼看过去,就是放大后才有区别。 1. 项目中用到的的代码 // 从SD卡里直接获取Bitmap private Bitmap getDiskBitmap(String pathString) { Bitmap bitmap = null; try { File file = new File(path... 阅读全文
posted @ 2015-12-10 14:54
Pace千雨
阅读(586)
评论(0)
推荐(0)
浙公网安备 33010602011771号