Open SuezhouAndroid opened 7 years ago
@SuezhouAndroid ??
@SuezhouAndroid @linchaolong 造成这个原因的代码如下:
CropImage类中
/**
* Get URI to image received from capture by camera.
*
* @param context used to access Android APIs, like content resolve, it is your activity/fragment/widget.
*/
public static Uri getCaptureImageOutputUri(@NonNull Context context) {
Uri outputFileUri = null;
File getImage = context.getExternalCacheDir();
if (getImage != null) {
outputFileUri = Uri.fromFile(new File(getImage.getPath(), "pickImageResult.jpeg"));
//这里把后缀名pickImageResult加上时间戳。
}
return outputFileUri;
}
拍照多张 都是同一张照片