Some advanced attributes of androidmanifest. XML, the main configuration file of the android project, may be unknown to most developers. Let's take a look.
Supported screen size settings, we can display the specified allowed run in:
<Supports-screens <br/> Android: largescreens = "true" // WVGA <br/> Android: normalscreens = "true" // hvga <br/> Android: smallscreens = "true" // qvga <br/> Android: resizable = "true" <br/> Android: anydensity = "true"/>
Whether or not five-digit navigation keys are supported. Generally, these keys are used in games.
<Uses-configuration Android: reqfivewaynav = "true"/>
Requirements for live wallpaper features starting with Android 2.1
<Uses-feature Android: Name = "android. Software. live_wallpaper"/>
Ensure that the device contains a light sensor.
<Uses-feature Android: Name = "android. Hardware. sensor. Light"/>
The supported version of the OpenGL device. The value is an integer of the int type.
<Uses-feature Android: openglesversion = "int">
Reference an external jar. Generally, we can directly use <uses-library> in non-Eclipse IDE.
NFC requirements starting with Android 2.3
<uses-Permission Android: Name = "android. permission. NFC "> <br/> <uses-feature Android: Name =" android. hardware. NFC "Android: required =" true ">