(The Android multimedia scanning process pdf mainly explains the use of MediaScannerReceiver to scan mobile multimedia. MediaScannerService calls a common class MediaScanner to manage real work. MediaScannerReceiver maintains two scanning directories: one is that the internal volume points to $(ANDROID_ROOT)/media. The other is that the external volume points to $(EXTERNAL_STORAGE) The scanning and parsing work is located in the Java layer and the C layer. The JAVA layer is the initiator. MediaScanner scans all directories, and the code process will be described in the book.
codefans\Android_ Multimedia Scan Process.pdf)