Manifest files are divided into three parts: Global information Configuration, component information, permission configuration
1. Global information configuration 1) application package name and version information management
2) Control Android version information (the minimum version you can support, the system version you expect)
2. The component information is wrapped by the large label application. The label's properties can be set by icon, title, and theme style.
It can contain activity, service, content provider, Broadcastreceiver.
1) activity specifies the class name through the Name property.
Intent-filter can be understood as a business card, even if you do not know its name, you can also get information through a business card. It can also be understood as a filter.
2) Service
Similar to activity
3) Content Provider
Manage database access and sharing of data between programs
4) receiver global event listener. Listen for matching broadcasts.
Intent-filter is a filter.
3. Permissions Configuration
1) Use System permissions
<use-permission>
2) Custom permissions can be customized to name, function: to protect certain important components.
For example, third-party applications can access their activity through setclassname, and if you do not want to be accessed, you can add this permission.
That is, add the permission property to your own acitivity, and the value is custom. Also define <permission> in manifest.
Android Manifest Content Parsing