desc:录像名称格式,targetSdk版本

main
xiaowusky 2 years ago
parent 70127cd262
commit 5cfa300050

@ -13,8 +13,8 @@ project.ext {
versions = [
compileSdkVersion : 33,
buildToolsVersion : "33.0.3",
minSdkVersion : 30,
targetSdkVersion : 30,
minSdkVersion : 28,
targetSdkVersion : 28,
versionCode : 1,
versionName : "1.0",
jvmTarget : "1.8",

@ -197,7 +197,7 @@ public class CameraHelper {
}
// Create a media file name
SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.CHINA);
SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss", Locale.CHINA);
String timeStamp = format.format(time);
String endTimeStamp = format.format(time + duration);
File mediaFile;

Loading…
Cancel
Save