Android MediaScanner Summary

Source: Internet
Author: User

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 (^_^)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.