What is AndroidManifest.xml used for? Give examples of what kind of data you would add to it.
Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest file provides essential information about your app to the Android system, which the system must have before it can run any of the app's code.
- It names the Java package for the application.
- It describes the components of the application, which include the activities, services, broadcast receivers, and content providers that compose the application.
- It determines the processes that host the application components.
- It declares the permissions that the application must have in order to access protected parts of the API and interact with other applications.