‫Welcome back.
‫In this video, we'll learn about Androidmanifest in Android studio.
‫The Androidmanifest.xml file, commonly referred as the manifest file, is a crucial configuration file
‫that provides essential information about your Android application to the Android operating system.
‫It acts as a blueprint for the Android system to understand and interact with your application.
‫The manifest file is required in every Android application and plays a central role in how your application
‫is installed, launched and interacts with other applications and system components.
‫Now let's analyze the Android manifest codes.
‫Let's start from above.
‫This is the opening tag for the manifest, and if you scroll down you can see the closing tag for the
‫manifest application components.
‫The manifest file defines various components that make up your app, such as activities.
‫If you scroll down, you can see we have two activities here in this application we have two activities.
‫The second activity we have main activity and the second activity.
‫So in this application tag, we define the different and various components that make up your application,
‫such as activities, services, broadcast receivers and content providers.
‫Each component must be declared with its name and configuration settings.
‫If I scroll down to the two activities that I have, the second activity and the main activity, this
‫is the name of the main activity and this is the name of the second activity label is second activity
‫and the theme is theme dot layout app.
‫Later on we'll talk about themes.
‫If we scroll down to the main activity, this is the activity.
‫The intent filter specifies that this activity is the main entry point of the app because we have the
‫action dot main and should be displayed in the launcher activity.
‫So when opening the app, go and launch this activity.
‫So the intent filters define how your app can respond to implicit intents which are requested to perform
‫a certain action.
‫They specify the types of actions and data that your app can handle.
‫The permissions, the manifest file lists, the permissions your app requires to access certain system
‫features or perform specific actions.
‫Users are informed about these permissions when they install the app.
‫So, for example, if your app requires internet permission, we start with users permission, and here
‫we specify Internet access.
‫This is how we request from the user to accept the permission to allow our application to access internet.
‫And these are the general attributes for the application.
‫So for example, you can define the app's icon and label label, which is the name of your application
‫here.
‫I can name it whatever you want and the icon, you can change it.
‫Also, there are a lot of attributes you can add and change.
‫The Android manifest file is crucial for the proper functioning of your application within the Android
‫ecosystem.
‫It defines the app's identity, components, permissions and capabilities, allowing the system to manage
‫and interact with your app appropriately.