Android MediaScanner Summary
1. Introduction
Since then, the source code analysis of Android MediaScanner has been completed, and it has been written intermittently for more than half a month. Now let's summarize MediaScanner. (The overall architecture of MediaScanner is still referenced in the general outline of Android MediaScanner)
2. Programmatic articles
Android MediaScanner Overview
This article describes the MediaScanner architecture in detail, including the MediaScanner system hierarchy, the involved code, and the call sequence. You can see several figures in detail.
To understand the overall structure of MediaScanner, you must first read this article.
3. Each module analyzes the 3.1 APP Layer
Android MediaScannerService source code analysis
3.2 communication layer
Android MediaScanner source code parsing
Android MediaScannerJNI source code
One JAVA and one C ++ are responsible for upward and downward communication. By checking the code, you can find that there is a MediaScannerClient. It is estimated that Google's original design idea is to map the two, but it only implements some of them, the Client at the C ++ layer is hardly implemented.
3.3 core layer
Android MediaScanner. cpp source code parsing
Android StageFrightMediaScanner source code parsing
4. Summary
This is the article (^_^)