Manifest File

Manifest file contains all the details needed by the android system for the application. It helps developers to pass functionality and requirements of application to Android OS. This is an xml file which must be named as AndroidManifest.xml and placed in root. Every Android app must have AndroidManifest.xml file. AndroidManifest.xml allows us to define, the packages, API, libraries needed for the application.
Following are the elements(listed alphabetically) that can appear in AndroidManifest.xml, this list is restricted and we cannot add our own elements to it.


Following is a sample Android manifest file.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
    android:versionName="1.0" >

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

        android:label="@string/app_name" >
            android:name=".HelloWorld" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />