SD Scanner

SD Scanner


An app to force Android to scan a storage medium for media and other files. Uses a method compatible with 4.4 KitKat and 5.0 Lollipop, tested on my Nexus 5.

In Android 4.4 KitKat, the method used by most older programs to rescan a storage medium no longer works. Instead, an interface must be used that only allows one file to be specified at a time. This app works by determining what files/folders might need to be scanned again, and then by calling the correct API on each file/folder.

This app is licensed under the GNU GPL v2 or later, with source code available at http://github.com/jerickson314/sdscanner

SD Scanner can be used with Tasker by using the "Send Intent" action listed under "System."
Use the following settings, leaving the ones I don't list at the default:
Action: android.intent.action.RUN
Package: com.gmail.jerickson314.sdscanner
Class: com.gmail.jerickson314.sdscanner.MainActivity
Target: Activity

If anyone wants to write a proper Tasker plugin, I'll happily take a Pull Request on Github.

Additional contributions from the following:
- Czech translation: Jaroslav Lichtblau
- Chinese translation: Laurence Chiu
- Russian translation: Github user "relan"
- UI tweaks: relan

Recent changes:
1.11:
- Tweak wording on "ignore updated/changed" option.
- Added translations for the new option.
- Skips empty directories, as on some devices these forever show up as files in MTP if scanned.
- Doesn't follow symlinks outside of scan directory. Should only affect rooted devices, but following these can cause problems.

1.10:
- Option to ignore updated and changed files outside scan directory.
- Fix a rare crash.
Add to list
Free
81
4.1
User ratings
1262
Installs
100,000+
Concerns
0
File size
34 kb
Screenshots
Screenshot of SD Scanner Screenshot of SD Scanner
About SD Scanner
An app to force Android to scan a storage medium for media and other files. Uses a method compatible with 4.4 KitKat and 5.0 Lollipop, tested on my Nexus 5.

In Android 4.4 KitKat, the method used by most older programs to rescan a storage medium no longer works. Instead, an interface must be used that only allows one file to be specified at a time. This app works by determining what files/folders might need to be scanned again, and then by calling the correct API on each file/folder.

This app is licensed under the GNU GPL v2 or later, with source code available at http://github.com/jerickson314/sdscanner

SD Scanner can be used with Tasker by using the "Send Intent" action listed under "System."
Use the following settings, leaving the ones I don't list at the default:
Action: android.intent.action.RUN
Package: com.gmail.jerickson314.sdscanner
Class: com.gmail.jerickson314.sdscanner.MainActivity
Target: Activity

If anyone wants to write a proper Tasker plugin, I'll happily take a Pull Request on Github.

Additional contributions from the following:
- Czech translation: Jaroslav Lichtblau
- Chinese translation: Laurence Chiu
- Russian translation: Github user "relan"
- UI tweaks: relan

Recent changes:
1.11:
- Tweak wording on "ignore updated/changed" option.
- Added translations for the new option.
- Skips empty directories, as on some devices these forever show up as files in MTP if scanned.
- Doesn't follow symlinks outside of scan directory. Should only affect rooted devices, but following these can cause problems.

1.10:
- Option to ignore updated and changed files outside scan directory.
- Fix a rare crash.

User reviews of SD Scanner
Write the first review for this app!
Android Market Comments
A Google User
5 days ago
You have to manually enter in the directory name, but otherwise, it works. • • • • Edit: This used to be my go-to-app for rescanning my media. However, it hasn't been working on my newer device. It also appears to be scanning the files in directories containing a ".nomedia" file. Since I have several HTML-based manuals on my device, I end up with all of the figures from them in my gallery - a real show-stopper.
A Google User
Apr 22, 2015
U F7
A Google User
Apr 20, 2015
Worked like charm! I don't get why the OS is not handling this work. It didn't work in lollipop too.
A Google User
Apr 19, 2015
It works....but after running a scan, i find a folder "storage" with a sub-folder "sdcard0" in Android File Tansfer (am using a Mac). It appears to be an empty folder, and deleting it "conveniently" wipes everything that used to be on the internal sdcard. Lenovo Vibe X2, Mac OS 10.10.3
A Google User
Apr 16, 2015
Amazing Works lightning fast and finds all your music. Tested on Android 4.4 with Play Music
Version 1000000
Version 1000000