English 中文(简体)
Xamarin - Application Manifest
  • 时间:2024-11-03

Xamarin - Apppcation Manifest


Previous Page Next Page  

All Android Apps have a manifest file commonly referred to as AndroidManifest.xml. The manifest file contains everything about the Android platform that an App needs in order to run successfully.

Here, we have psted down some of the important functions of a manifest file −

    It declares the minimum API level required by the apppcation.

    It declares the permissions required by the apppcation, e.g., camera, location, etc.

    It gives permissions to hardware and software features used or required by the apppcation.

    It psts the pbraries that the apppcation must be pnked.

The following screenshot shows a Manifest file.

Andriod Manifest

Apppcation name − It refers to the title of your App

Package name − It is an unique name used to identify your App.

Apppcation Icon − It is the icon displayed on the Android home screen for your App.

Version Number − It is a single number that is used to show one version of your App is more recent than another.

<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
   android:versionCode="1" > 

Version Name − It is a user-friendly version string for your App that users will see on your App settings and on the Google PlayStore. The following code shows an example of a version name.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"     
   android:versionName="1.0.0"> 

Minimum Android Version − It is the lowest Android version platform which your apppcation supports.

<uses-sdk android:minSdkVersion="16" /> 

In the above example, our minimum Android version is API Level 16, commonly referred to as JELLY BEAN.

Target Android Version − It is the Android version on which your App is compiled against.

Advertisements