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
1387
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.

Android Market Comments
A Google User
6 days ago
Querying databasa for the last 30min? How long should the "querying database..." thing be? I think I'm stuck here. I checked my gallery and still 0 images.
A Google User
Jun 28, 2015
All it did was scan. There were no options for anything else.
A Google User
Jun 28, 2015
Tried loads of these, this is the first which appears to work! Would be handy to be able to browse for a folder to scan rather than having to remember the path.
A Google User
Jun 28, 2015
Just does what it says, no ads, no frills - I like it!
A Google User
Jun 28, 2015
Works perfectly I've messed up my gallery by creating a .nomedia file in my sdcard root directory and most of my media no longer shown ever since then. I deleted the .nomedia and the gallery still messed up. Then I used this and rescan my sdcard. Now my gallery is back to normal!
Version 1000000
Version 1000000