Updated : Oct 14, 2019 in Development

Familiarization to AndroidManifest.xml File

The AndroidManifest.xml file contains your project’s package information. All the components that you use in your application have information in AndroidManifest.xml file.

Such as servlets have deployment descriptors. Similarly, AndroidManifest.xml file is in addition like deployment descriptors for your application. It controls your application.

By looking at the AndroidManifest.xml file, you can tell how many and which components have been used in the application.

As you know, every android application must have at least one Activity, Service, Broadcast receiver or Content Provider. All these components create intents to perform tasks or register themselves for intents through intent filters. Intent and intent filters are two separate elements to Which adds AndroidManifes.xml file.


The components of any application would like permission before accessing the protected a vicinity of your application. This permission is declared within the AndroidManifest.xml file. tag is used to declare permission.

Which android API do you use when creating an application? You declare it in the AndroidManifest.xml file.

Elements of AndroidManifest.xml File :

AndroidManifest.xml file consists of some components :-

(1) The <manifest> element is that the root element of the AndroidManifest.xml file. it’s a package attribute that describes the package name of the activity class.

(2) The <application> element is a sub-element of the <manifest> element. This element has many sub elements. Typically icon, label and theme attributes are used in this attribute. Let’s know something about them.

  • (i) android:icon :– It represents the icon of your application
  • (ii) android:label :- it represents the label of your application
  • (iii) android:theme :- it represents the theme of your application.

(3) The <activity> element is a sub-element of the <application> element. This element has two main attributes.

  • (i) android:name :- It represents the name of the activity class.
  • (ii) android:label :- This is a label that’s displayed on the screen.

(4) The <intent-filter> element is a sub-element of the <activity> element. It has three major sub-elements.

  • (i) <action> The intent-filter is defined during which type of action it’ll answer.
  • (ii) <category> It defines the category of activity.
  • (iii) <data> …..

Thank you for visiting our website, if you have not yet subscribed to our website’s push notification service, Then subscribe to our website’s push notification service today, so that you can get the notification of our latest post in your mail box.

Leave a Reply

Your email address will not be published. Required fields are marked *