Android Manifest file
Syntax
Elements of the Android manifest.xml file
These are the elements of the Android manifest.xml file that cannot be changed and you cannot add your elements to the Android Manifest file:
- <manifest xmlns:android=http://schemas.android.com/apk/res/android
- package="string"
- android:shareduserId="string"
- android:sharedUseLabel="string resource"
- android:versionCode="integer"
- android:versionName="string"
- android:installation=["auto" "internally" "preferExternal" ]>
- <action>
- <application>
- <activity-alias>
- <application>
- <category>
- <data>
- <grant-uri-permission>
- <instrumentation>
- <intent-filter>
- <manifest>
- <meta-data>
- <permission>
- <permission-group>
- <permission-tree>
- <provider>
- <receiver>
- <service>
- <support-screens>
- <uses-configuration>
- <uses-features>
- <uses-library>
- <uses-permission>
- <uses-sdk>
Elements of application component
These should be enclosed in the <application> container:
Structure of Android Manifest file
<manifest>
- activity: has the set of attributes based on the user interface
- activity-alias: specific target activities
- service: has the operation provided by any library or API, running in the background that is not visible
- receiver: enables the application to receive intents that are broadcast by the system or application
- provider: provides some structure to access application data
<Elements>
<application>
</Elements>
</application>

Comments
Join the conversation! Your thoughts help the community grow.