Explain AndroidManifest.xmlfile in detail.



Explain AndroidManifest.xmlfile in detail...

Answer / Abhinav Awasthi

AndroidManifest.xml is a fundamental file required for every Android application. It contains metadata about the app, such as:
1. `package`: The package name of the app.
2. `versionCode` and `versionName`: The version information of the app.
3. `minSdkVersion` and `targetSdkVersion`: The minimum and target API level required/supported by the app.
4. `uses-sdk`: Declares the features/APIs that the app uses, like internet, network, etc.
5. `uses-permission`: Lists all the permissions required by the app to function correctly.
6. `application` tag: Contains important details about the application like its name, icon, theme, and more.
7. `activity`, `service`, `provider`, and `receiver` tags: Define various components of the app.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

Tell us how do you supply construction arguments into a fragment?

1 Answers  


What is a google android packageinstaller?

1 Answers  


How to make an apk file in android?

1 Answers  


What is activities?

1 Answers  


What is the Android Open Source Project?

1 Answers  


Can you deploy executable jars on android? Which package is supported by it?

1 Answers  


What is menu/ directory?

1 Answers  


How many ways data stored in Android?

1 Answers   UGC Corporation,


What is margin?

1 Answers  


Which types of flags are used to run an application on android?

1 Answers  


Write code snippet to retrieve IMEI number of Android phone.

1 Answers   HCL,


Explain the ontrimmemory() method?

1 Answers  


Categories