Thank you for using this application, please take a moment to read bellow information.
Renamed and moved files using this application cannot be rolled back!
The application was made to rename pictures and clips using creation time if are available. The application was designed to run on Sony devices which default camera application save files using a prefix followed by a numeric counter, the pictures prefix is DSC_ and clips prefix is MOV_, the counter is reset each time when the folder where are saved files is cleanup.
e.g. DSC_0034.JPG and MOV_0045.MP4
That's why is important to check, if your device is not a Sony device, what are the file name pattern, mostly (Samsung, LG etc.) use IMG_ for pictures and VID_ for clips, the file patterns are on the Define file name patterns section.
On early Android version the most common way to detect when a new picture and clips was taken was to "listen" some camera events, but that depend by the developers which developed the camera application, because of that I let the user to check other options, but if nothing is not working the rename service can manually be invoked.
Available options are:
Regarding media content observer and file observer, on developing process I noticed that the delay between the moment of trigger and the moment when the Android OS invoke registered observer to launch the rename service can take more than 5 minutes.
Sometime I noticed that the service trigger must be registered again, by disable it and then selecting back.
That's why I do not consider any of available trigger reliable because of that I suggest to create on the Home Screen a shortcut to launch manually the rename service directly when is necessary or as a backup. More details on DSC Rename service shortcut section.
The option offer the possibility to rename the video files too.
This option it is used only when the rename service is automatically invoked. The rename service can be delayed to let the phone to settle down. The value is ignored when the rename service is manually invoked.
If this option is enable will let you to select which folder should be scanned for files to be renamed, by default the application will scan for all files from the device, by enabling this and set a list of folders, will limit the rename service to check only selected folders. This option is mandatory for newest Android OS, starting with Android Lolipop (5.x), see more info on next section.
As I mentioned above on this section are all selected folders used by the application to check for files which should be renamed. This option is mandatory for newest Android OS version, newest than Android Lollipop (5.x).
Normally the default camera application on Sony devices saves files on a subfolder named 100ANDRO, but I suggest to select the parent folder, DCIM. If you select this folder all subfolders will be available too.
An example of selected folders:
The path "/storage/F8E8-12B3/DCIM" is normally a path to a DCIM folder located on the SD Card. The second path is the full path DCIM folder located on phone internal memory.
Sometime the Android OS rejects application right over DCIM folders from SD Cards, mostly when the SD Card is changed or an error is detected by OS, that's why is necessary to reselect the DCIM folder form the SD card if you notice that the files from SD Card are not renamed. Use manually rename option to check if the files are renamed properly.
This option is deprecated and in most of the time will not be necessary to be used. This option will set the application to scan for files by scanning paths (folders and subfolders) instead to check the Android OS indexer (data base). If is enabled this option the application will consume more resources (CPU and RAM) to search trough selected folders for files, the process time will be increased too.
As I mentioned, because the application was designed to work on Sony devices, by default are two predefined patterns:
The rename file name pattern by default contains some date time patterns like: "yyyyMMdd_HHmmss" where each letter case is important:
See more format information on: Java SimpleDateFormat class page.
Notes:
The file name extension it is preserved during rename process, also is case insensitive, JPG = jPg = jpg
By default the application will add a counter suffix to offer an unique file name, this is necessary when more than one picture is taken on the same second.
Pattern explanation:
Using this option the user can define which information will be used to obtain the date and time in rename process.
Available options:
Because the application is not implemented to rollback renamed files, using this option can be saved the original file name.
The rollback rename file was not implemented because the original Camera application will reuse the counter so it will mess the file order.
Because the automatically trigger is not reliable, I must admit that, and because I did not identified a way to make it to work always, I suggest to create on your Home screen a shortcut to launch manually directly the rename service.
Even my self I use the shortcut to rename files after each photo session. This could be helpfully because the rename process will not affect the camera processes.
Using this option the user can disable the confirmation dialog used prior starting the manually rename service when the shortcut it is used to launch it.
This option allow the user to launch manually the rename service from the main application, mostly this can be used to check if settings are properly set.
Here are shown a counter with renamed files number. If it is touched the counter can be reset.
Using these options can be exported and imported application settings to and from a local folder. The file name is dsc_autorename.preferences. The file is actually a text file.
On importing process the paths may not be included if the application do not have access rights. That's why you should check and select again folders if is necessary.
Use this option to send some debugging information related with this application to me, it is important that the mail to contain an archive attached and a description with the issues in English or Romanian language.
The logs will contain the mount paths to identify which partitions are available on your device and most important the content of MediaStore.Images and MediaStore.Video databases which contain meta data for all available images and clips, mostly to identify what are the file names patterns.
You can make a donation if you appreciate the application by installing the Pro version, which actually act like a key, it is not an application.
The donation is not required, the application is fully working in free version too.
This application is an open source application and have sources published at the addrress: https://github.com/ciubex/dscautorename
Any translation and language suggestion is welcomed, you can use online page: Weblate: DSC Auto Rename for translations or send emails with any language suggestions.
This help page source is available online at the address: help-en.html.
I appreciate any Google Play feedback, but to be honest if you have issues I prefer to contact me directly using the "Send debbuging logs" option using this option I will be aware about any issues, to find possible solutions or workarounds.