FAT32Sorter is an Android app that helps you to sort mp3 files on your memory card formatted with FAT/FAT32 file system.
The idea came from one of my friends (A.G), he is using an Mp3 Player device, and when he copy some mp3 files to Mp3 Player Memory card, he found that files is not sorted alphabetically despite he was renamed them like this: 000.mp3,001.mp3...999.mp3.
So after doing some research on the internet, i've found that the problem is with FAT32 File system, and i discovered that the FAT file system is sorting files as its precedence in copying (by Last modified date).
So if we moves files from sdcard to any other memory (internal or phone memory) and reading them in Array list, then sort this array alphabetically and copying them back to sdcard as they sorted in the array... now files will be sorted.
I've wrote this app on android phone with AIDE in Java programming language, it consists of 2 classes:
- MainActivity class (App interface functions)
- FATSorter class (copying and sorting functions)
I've shared the source code for educational purposes only not for commercial use, you can view it on GitHub:
View Source code on GitHub
The idea came from one of my friends (A.G), he is using an Mp3 Player device, and when he copy some mp3 files to Mp3 Player Memory card, he found that files is not sorted alphabetically despite he was renamed them like this: 000.mp3,001.mp3...999.mp3.
So after doing some research on the internet, i've found that the problem is with FAT32 File system, and i discovered that the FAT file system is sorting files as its precedence in copying (by Last modified date).
So if we moves files from sdcard to any other memory (internal or phone memory) and reading them in Array list, then sort this array alphabetically and copying them back to sdcard as they sorted in the array... now files will be sorted.
I've wrote this app on android phone with AIDE in Java programming language, it consists of 2 classes:
- MainActivity class (App interface functions)
- FATSorter class (copying and sorting functions)
I've shared the source code for educational purposes only not for commercial use, you can view it on GitHub:
View Source code on GitHub
Comments
Post a Comment