摘要:
public class PathManager { //自定义相机存储路径(图片经过剪裁后的图片,生成640*640) public static File getCropPhotoPath() { File photoFile = new File(getCropPhotoDir(),System.currentTimeMillis() + ".jpg"); ... 阅读全文
摘要:
比如,项目中调用相,返回一张图片一眼看过去,就是放大后才有区别。 1. 项目中用到的的代码 // 从SD卡里直接获取Bitmap private Bitmap getDiskBitmap(String pathString) { Bitmap bitmap = null; try { File file = new File(path... 阅读全文