翻译,挺爽的

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

每个应用程序都必须有一个AndroidManfest.xml文件(正是这个名字)的根目录。manifest文件提供了基本的信息应用到Android系统,信息系统必须之前,可以运行任何应用程序的代码。除此以外,清单如下:

  • 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.
  • 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

应用程序的Java包名称,包名作为服务的时候应该说应用程序的唯一标示符

它描述了应用程序的组件--活动、服务、广播接收器,和内容提供商的应用程序组成。它名字的类实现的每个组件和发布自己的能力(例如,它Intent他们可以处理)的消息。这些声明让Android系统知道组件和在什么条件下可以启动。

它决定哪些进程将主机应用程序组件

它声明应用程序必须以访问权限保护的API和与其他应用程序进行交互

它还声明了权限,其他人则需要为了与应用程序交互的组件

它列出了Instrumentation类,提供分析和其他信息的应用程序正测试应用程序时,他们在发布应用程序之前删除。它声明了Android API应用程序需要的最低水平

它列出了库,应用程序必须与反对

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值