Wednesday, 18 April 2018

Android Manifest

App Manifest Overview

Every app project must have an AndroidManifest.xml file at the root of the project source set. 
The manifest file describes required information about your app to the Android building tools, 
the Android operating system, and Google Play.

Android Training in Chandigarh

The manifest file is appropriate to declare the following :
  • The app's package name, which commonly matches your code's namespace.
 The Android build tools use this to regulate the location of code individual when building 
your project. When packaging the app, the build tools change this value with the functions
 ID from the Gradle build files, which is used as the exclusive app accessory on the system 
and on Google Play.
  • The components of the app, which include all enterprise, services, broadcast receivers, 
and content providers. Each fundamentals must define essential features such as the name
 of its Kotlin or Java class. It can also acknowledge capabilities such as which device
 compositions it can handle, and intent drain that shows how the component can be started.

  • The permissions that the app needs in order to access protected parts of the system or other
 apps. It also declares any acceptance that other apps must have if they want to approach 
content from this app.
  • The hardware and software features the app desire, which affects which accessory can
 install the app from Google Play.

If we are using Android Studio to build your app, the manifest file is created for our app, and 
most of the basic manifest elements are added as you build your app .Get More Knowledge
 about app manifest, through Android training in Chandigarh.

File features in Android Manifest

The following sections describe how some of the most important characteristics of your app are
 reflected in the manifest file.

Package name and application ID

The manifest file root element requires an attribute for your app's package name (usually matching
 your project directory structure—the Java namespace).

Intent filters

App activities, services, and broadcast receivers are activated by intents. An intent is a 
information defined by an Intent object that details an action to perform, including the data to 
be begin upon, the category of basic that should achieve the action, and other instructions.

Icons and labels

A number of manifest elements have icon and label attributes for displaying a small icon and a 
text label, respectively, to users for the corresponding app component.


Android apps must appeal permission to access delicate user data or certain system features . 
Each permission is classify by a unique label.

Device compatibility

The manifest file is also where you can declare what types of hardware or software features 
your app requires, and thus, which types of devices your app is compatible with. Google Play
 Store does not allow your app to be installed on devices that don't provide the features or 
system version that your app requires.

AndroidManifest.xml file in android

The AndroidManifest.xml file contains content of your package, including components of 
the application like services,broadcast receivers, activities, etc. Learn more about 
AndroidManifest.xml file with Android Training in Chandigarh.


Post a Comment