diff --git a/src/android/SaveImage.java b/src/android/SaveImage.java index eaf3ea2..6f86486 100644 --- a/src/android/SaveImage.java +++ b/src/android/SaveImage.java @@ -113,8 +113,7 @@ private File copyFile(File srcFile, File dstFolder) { } // Generate image file name using current date and time - String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmssSSS").format(new Date()); - File newFile = new File(dstFolder.getPath() + File.separator + "IMG_" + timeStamp + ".jpg"); + File newFile = new File(dstFolder.getPath() + File.separator + srcFile.getName()); // Read and write image files FileChannel inChannel = null;