The following is a androidmanifest.xml file in a project:
<?xml version= "1.0" encoding= "Utf-8"?>
<manifest xmlns:android= "Http://schemas.android.com/apk/res/android"
Package= "Tw.suggest"//package path for program files in the specified project
Android:versioncode= "1" The version number of this project
Android:versionname= "1.0" > The version name of this project
<uses-sdk
android:minsdkversion= "1"//Minimum API version for this project to run
Android:targetsdkversion= "/>//" The API version that this project expects to run
<application
Android:allowbackup= "true"//Allow Backup
android:icon= "@drawable/ic_launcher"//Small icon displayed during program execution
Android:label= "@string/app_name"//program name displayed in the information column above the phone screen when the program executes
Android:theme= "@style/apptheme"//Theme Style
>
<activity//activity is the basic execution unit for Android programs to run
Android:name= ". Mainactivity "//Run is to enter this specified program
Android:label= "@string/app_name" >
<intent-filter>
<action android:name= "Android.intent.action.MAIN"/>//decide which program the application executes first
<category android:name= "Android.intent.category.LAUNCHER"/>// determine if the application appears in the program list
</intent-filter>
</activity>
</application>
</manifest>
The role of Androidmanifest.xml in Android projects