- ICameraFileInfo file = (contentList.get(contentIndex)).getFileInfo();
- String path = file.getDirectoryPath() + "/" + file.getFilename();
- String upperCasePath = path.toUpperCase();
- String suffix = (specialSuffix == null) ? upperCasePath.substring(upperCasePath.lastIndexOf(".")) : specialSuffix;
- Calendar calendar = Calendar.getInstance();
- String filename = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(calendar.getTime()) + suffix;
-