Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Which directories does the Media Scanner scan at startup?

Is it only the sdcard?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Media Scanner scans both SD card as well as USB storage, but not ROM and system storage. Means, it scans from /sdcard/ and /sdcard/external_sd/ mount points. It goes deep inside all non-hidden sub-directories, unless .nomedia file is detected.

Media Scanner skips ROM and system storage because both require root permission to write anything there. And, its very unlikely for an end-user to store music, photo there.

share|improve this answer
4  
and except the hidden folders. –  roxan Mar 20 '12 at 12:47
1  
@roxan oh missed that.. thanks. added that in answer.. –  Sachin Shekhar Mar 20 '12 at 12:56
    
thank you both :) –  MobileCushion Mar 20 '12 at 13:49
1  
@MobileCushion Unable to understand what you're asking.. Plz, elaborate it. If you are concerned about .nomedia, it works as follows: When this file is found in a directory, all items (including sub-directories) of this directory are skipped. –  Sachin Shekhar Mar 20 '12 at 15:23
1  
@Basj You're correct. –  roxan Jun 18 at 21:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.