If you are about to launch application in android market or developing android application then this post is for you to take care about some AndroidManifest.xml attributes value to set inside the AndroidManifest.xml file:
It ensures incremental numerical version of your application. such as 1 , 2 , 3 ,4….
It ensures version name of your application such as 1.0, 1.0.1, 2.0, 2.1, 2.1.1, 2.1.2….
Icons for your application to be displayed inside the applications menu screen.
Name of your application to be visible with icon in the applications menu screen.
It ensures that the application’s debug mode is on or off. While developing time, we should make this value with ‘true’ but when about to launch application then at that we must have to remove this attributes from the AndroidManifest.xml file. If you forget to remove then while preparing Signed APK at that time it will notify to remove this from AndroidManifest.xml file.
User can select one values from 3: auto, internalOnly, preferExternal. It ensures the location where the application will be installed. This feature is available in 2.2 and higher versions. It you set “auto” options then system will decide where to install applications based on the many factors.
It ensures which screens to support. Your application will supports those screeens for which you have made “true” to particular screen attribute values.
It ensures which SDK to support and also to define anyDensity value to either true or false. If we make android:anyDensity=true then application can be support in any density android device.
It is used to declare all the permission that we requires inside the application. For example, INTERNET, READ_PHONE_STATE, ACCESS_NETWORK_STATE, ACCESS_WIFI_STATE, etc.
Specifies a shared library that the application must be linked against. This element tells the system to include the library’s code in the class loader for the package.
For more info, click on AndroidManifest.xml.