<Uses-sdk> node of AndroidManifest. xml, androidusessdk
References: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
<Uses-sdk>
<Uses-sdk> is a direct sub-node of <manifest> to inform the system application of the Android SDK compatibility range.
Syntax:
<uses-sdk android:minSdkVersion="integer" android:targetSdkVersion="integer" android:maxSdkVersion="integer" />
Attribute:
Android: minSdkVersion
The application is compatible with the minimum SDK version. If the value is greater than the version of your mobile phone system, it cannot be installed. If this value is not specified, the default value is 1. In actual code writing, the smaller the version to be compatible, the more version compatibility issues that need to be addressed in the program
Android: targetSdkVersion
The best SDK version for running the application. If default, the default value is minSdkVersion. If the running system version is later than targetSdkVersion, the system will try to be backward compatible and use the features of earlier versions. All in all, if targetSdkVersion is later than the system version, the application is responsible for version compatibility. If targetSdkVersion is earlier than the system version, the system is responsible for version compatibility.
Android: maxSdkVersion
The most compatible SDK version of the application. In practice, it is generally useless. It is compatible with old applications for Android, so it is not required.
How can I add androidpermissionCAMERA permission to AndroidManifestxml during Android development ?......
Permissions are generally written after the sdk version and before the application tag. For example:
<Uses-sdk android: minSdkVersion = "10"/>
<Uses-permission android: name = "android. permission. CALL_PHONE"> </uses-permission>
<Application android: icon = "@ drawable/icon" android: label = "@ string/app_name">
What is AndroidManifestxml?
The file name is an xml file. The file name is called AndroidManifest. xml in the text format of... notepad. The content in... is some app configuration.
This section indicates that there is a section in AndroidManifest. xml.
<Manifest xmlns: android = "schemas.android.com/apk/res/android"...>
<Uses-sdk android: minSdkVersion = "8" android: targetSdkVersion = "17"/>
...
</Manifest>
Write the sdk version number required by the current app... the minimum requirement is ver8... the current target version is ver17 ......