1 <?XML version= "1.0" encoding= "Utf-8"?>2 <Manifestxmlns:android= "Http://schemas.android.com/apk/res/android"3 Package= "Com.hisu.twins"<!--project name-->4Android:versioncode= "1"<!--Build the APK version number -5Android:versionname= "1.0" ><!--Version name -6 7 <USES-SDK<!--The SDK version information used by the project-->8 android:minsdkversion= " "9 android:targetsdkversion= "/> "Ten One <uses-permissionAndroid:name= "Android.permission.INTERNET" /> <!--App permissions: Access network - A <uses-permissionAndroid:name= "Android.permission.ACCESS_NETWORK_STATE" /> <!--Gets the network status, such as whether the current network link is valid - - <uses-permissionAndroid:name= "Android.permission.WRITE_SETTINGS" /> <!--Read and write system settings - - the <Application - Android:name= "COM.HISU.TWINS.APP.TWINSAPP"<!--class name--> -Android:allowbackup= "true"<!--whether to allow backup of application data at this time, by default, True - -android:icon= "@drawable/ic_launcher"<!--app icon - +Android:label= "@string/app_name" ><!--App Name - - <Activity + Android:name= "Com.hisu.twins.ui.activity.MainActivity"<!--represents the main program name for the entire application--> AAndroid:label= "@string/app_name"<!--Title name - atAndroid:launchmode= "Singletask"<!--activity start Mode: - -Android:cleartaskonlaunch= "true"<!--indicates press RETURN or end, this activity will always restart if you click on the desktop icon - -Android:statenotneeded= "true"<!--activity is killed and restarted no need to save State, launcher program must be set to True - -android:screenorientation= "Nosensor"<!--The direction of the transmitter is not determined by the physical direction. The transmitter is ignored - -Android:configchanges= "Mcc|mnc|keyboardhidden|orientation"<!--If this property is configured, the Onconfigurationchanged method in the OnCreate method is called directly when we switch between the screen and the other, without re-executing the OnCreate method - -Android:windowsoftinputmode= "Stateunspecified|adjustpan"<!--stateunspecified: The state of the soft keyboard is not specified, the system will select an appropriate state or a theme-dependent setting Adjustpan: The contents of the current window will automatically move so that the current focus is never covered by the keyboard and the user can always see the part of the input content - inAndroid:theme= "@android: Style/theme.notitlebar" ><!--do not display the application title bar - - <Intent-filter> <!--Intent filter, used to filter out some of the user's actions and actions - to <ActionAndroid:name= "Android.intent.action.MAIN" /> <!--Specify the entry procedure for the entire project - + - <categoryAndroid:name= "Android.intent.category.LAUNCHER" /> <!--determine if the application appears in the program list - the </Intent-filter> * </Activity> $ </Application>Panax Notoginseng - </Manifest>
Android app: Tvlauncher Source Analysis Androidmanifest.json