diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 114bb9b8b..4fd2b2706 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -335,7 +335,9 @@ private File createCaptureFile(int encodingType) { */ private File createCaptureFile(int encodingType, String fileName) { if (fileName.isEmpty()) { - fileName = ".Pic"; + //creating timestamps for empty filename to differentiate between multiple files selected via gallery + String timeStamp = new SimpleDateFormat(TIME_FORMAT).format(new Date()); + fileName = timeStamp; } if (encodingType == JPEG) {