机器翻译很搞笑

来源:互联网 发布:战舰世界藏王数据 编辑:程序博客网 时间:2024/06/10 18:42

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
原创粉丝点击