App Manifest 文档翻译
来源:互联网 发布:go python 编辑:程序博客网 时间:2024/06/16 10:05
App Manifest(应用程序清单)
Every application must have an AndroidManifest.xml file (with precisely that name) in its root directory.The manifest file presents essential information about your app to the Android system, information the system must have before it can run any of the app's code. Among other things, the manifest does the following:
每一个应用程序在它的根目录里必需有一个功能清单文件(AndroidManifest.xml),这个文件向安卓系统提供必要的应用程序的信息,只有先加载了这些信息,才能够执行应用新程序,除此之外,有如下功能:
- 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
Intent
messages they can handle). These declarations let the Android system know what the components are and under what conditions they can be launched.
描述组成应用程序中的组件:活动、服务、广播接收器、内容提供。其中的类可以继承组件来实现自己的功能(比如:Intent(意图)所具有的功能)。这些组建的声明让安卓系统了解这些组件有什么功能,在什么环境下可以执行;
- 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
Instrumentation
classes 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.
列出应用程序中必需关联的类库。
- App Manifest 文档翻译
- Android官方技术文档翻译 Manifest Merger
- V-Play 文档翻译 App
- app.manifest
- App Manifest
- App Manifest
- 打包穿戴设备app - 开发文档翻译
- android.app 包官方文档对应翻译
- 翻译-Manifest.permission
- APP Manifest -Android
- APP Manifest:<activity>
- Android-App manifest-allowTaskReparenting
- Android之App Manifest
- android-App Manifest
- android - App manifest(3)
- android - app manifest(4)
- 二手交易app manifest.xml
- App Manifest详解
- 转:vxWorks 653的x86 arch 代码移植
- 教你不用编程,设计一个Android蓝牙遥控小车软件
- D-Bus学习(四):基础小例子(同步和异步)
- HttpClient之源码导入MyEclipse
- java垃圾收集相关内容
- App Manifest 文档翻译
- poj 1204 Word Puzzles
- 如何更改android项目的运行环境以及如何显示logcat窗口
- OCP 1Z0 051 57
- 新辰:一个新手SEOer经常犯的错误以及解决办法大总结
- 关于java多个面板组件添加后,其中组件事件监听器可能没用的问题!
- Android菜鸟的第一个helloword工程
- POJ2236 wireless network 【并查集水题】
- 第13周程序阅读