AndroidManifest.XML : The Explaination

AndroidManifest.xml is a file which is encountered in all android applications. AndroidManifest.xml which is always present in the root directory and cannot have any other name. It is an essential file which provides information about application. This information is required by Android system. If the Android system do not gets this information from AndroidManifest.xml prior to running the application, it would execute it.


AndroidManifest.xml : The Operations it Perform

AndroidManifest.xml performs a huge list of operations prior to running on any application on Android. Here is a list of some of the operations :

  1. AndroidManifest.xml gives name to the Java package for the application. This name then serves as unique identifier for the application.
  2.  AndroidManifest.xml defines the services, activities, content providers and broadcast receivers of the application which it is a part of.
  3. It gives name to all classes which implement these components and set their capacities.
  4. It decides the process from host application which will be chosen to host application components.
  5. It also defines the list of classes which will have access to protected API parts.
  6. AndroidManifest.xml decides how the application will interact from outside application compenents.
  7. It declares the level of Android API which application requires in order to run successfully.

AndroidManifest.xml looks like a simple XML file some tags. It is written in XML version 1.0 under UTF-8 encoding.

 AndroidManifest.xml : Available Elements

Following is the complete list of elements which one can use in  AndroidManifest.xml: <intent-filter>

  • <uses-feature>
  • <activity>
  • <instrumentation>
  • <action>
  • <permission-tree>
  • <supports-screens>
  • <activity-alias>
  • <permission-group>
  • <uses-permission>
  • <application>
  • <manifest>
  • <permission>
  • <category>
  • <uses-sdk>
  • <provider>
  • <uses-library>
  • <service>
  • <grant-uri-permission>
  • <receiver>
  • <meta-data>
  • <uses-configuration>
  • <data>

So we hope that you now have a basic idea about AndroidManifest.xml . Any questions should be redirected in the form f comments below.