The AndroidManifest.xml File
2016-10-09 20:18
323 查看
manifest (船运的)载货清单
http://www.android-doc.com/guide/topics/manifest/manifest-intro.html
Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest presents essential information about the application to the Android system, information the system must have before it can run any of the application's code. Among other things, the manifest does the following:
It names the Java package for the application. The package name serves as a unique identifier for the application.
It describes the components of the application — the activities, services, broadcast receivers, and content providers that the application is composed of. It names the classes that implement each of the components and publishes their capabilities (for example, which
It determines which processes will host application components.
It declares which permissions the application must have in order to access protected parts of the API and interact with other applications.
It also declares the permissions that others are required to have in order to interact with the application's components.
It lists the
It declares the minimum level of the Android API that the application requires.
It lists the libraries that the application must be linked against.
http://www.android-doc.com/guide/topics/manifest/manifest-intro.html
Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory. The manifest presents essential information about the application to the Android system, information the system must have before it can run any of the application's code. Among other things, the manifest does the following:
It names the Java package for the application. The package name serves as a unique identifier for the application.
It describes the components of the application — the activities, services, broadcast receivers, and content providers that the application is composed of. It names the classes that implement each of the components and publishes their capabilities (for example, which
Intentmessages they can handle). These declarations let the Android system know what the components are and under what conditions they can be launched.
It determines which processes will host application components.
It declares which permissions the application must have in order to access protected parts of the API and interact with other applications.
It also declares the permissions that others are required to have in order to interact with the application's components.
It lists the
Instrumentationclasses that provide profiling and other information as the application is running. These declarations are present in the manifest only while the application is being developed and tested; they're removed before the application is published.
It declares the minimum level of the Android API that the application requires.
It lists the libraries that the application must be linked against.
相关文章推荐
- The AndroidManifest.xml File
- The original file 'AndroidManifest.xml' has been deleted or is not accessible
- The AndroidManifest.xml File
- The AndroidManifest.xml File
- 清单文件The AndroidManifest.xml File
- Could not find the AndroidManifest.xml file,...found usingdummy file [file:///home/malachi/work/Anno
- The AndroidManifest.xml File
- eclipse新建Android项目时提示AndroidManifest.xml file missing!
- What is the use of the res/values/public.xml file on Android?
- 新建Android项目时使用project from existing source导入已经存在的项目报 AndroidManifest.xml file missing错误解决方案
- 安卓(android)建立项目时失败,出现Android Manifest.xml file missing几种解决方法?(总结中)
- eclipse新建android项目 AndroidManifest.xml file missing!
- AndroidManifest.xml file missing 解决方案
- AndroidManifest.xml file missing 解决方案
- AndroidManifest.xml file missing问题已解决
- [android警告]AndroidManifest.xml警告 Not targeting the latest versions of Android
- AndroidManifest.xml file missing 的bug解决
- Parser exception for xx/AndroidManifest.xml: The reference to entity "z" must end with the ';' delim
- Android之The Manifest File
- 新建Android项目时使用project from existing source导入已经存在的项目报 AndroidManifest.xml file missing错误解决方案