Android-<manifest>
语法:
<manifestxmlns:android="http://schemas.android.com/apk/res/android"
package="string"
android:sharedUserId="string"
android:sharedUserLabel="string resource"
android:versionCode="integer"
android:versionName="string"
android:installLocation=["auto" | "internalOnly" | "preferExternal"] >
. . .
</manifest>
必须包含:
<application>
可以包含:
<instrumentation>
<permission>
<permission-group>
<permission-tree>
<uses-configuration>
<uses-permission>
<uses-sdk>
描述:
The root element of the AndroidManifest.xml file. It must contain an <application> element and specify xlmns:android and package attributes.
AndroidManifest.xml文件的根元素。它必须包含一个<application>元素,并指定xlmns : Android和包属性。
属性:
xmlns:android定义了Android命名空间。此属性应始终设置“ http://schemas.android.com/apk/res/android ” 。
package
一个完整的Java应用程序包名称。的名称应该是唯一的。该名称可以包含大写或小写字母(' A'到' Z“ ) ,数字,下划线( ”_“) 。然而,个别包名称部分可能只用字母开始。例如,由谷歌发布的应用程序可以有形式com.google.app.application_name名称。
包的名称作为一个应用程序的唯一标识符。这也是应用过程中的默认名称(参考<application>元素的进程的process属性)和类同(参考<activity>元素的taskAffinity的属性)一个活动的默认任务。
浙公网安备 33010602011771号