What is manifest file in android ?

Total Post:49

Points:345
 962  View(s)
Ratings:
Rate this:

manifest file in android in detail.

  1. Post:24

    Points:168
    Re: What is manifest file in android ?

    Android Manifest

    Android manifest file contains information about all packages, activities, content provider and also used to provide the protection for accessing any part of the project, you must provide the permissions. 


    Android Manifest file structure

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" 
        package="com.example.msclient010.mindstickqna">

    // Provide different type of permission
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-sdk
            android:minSdkVersion="8"
            android:targetSdkVersion="15" />

      // application Details
        <application
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"
            android:theme="@style/AppTheme" >

     // provide your activity details
            <activity
                android:name=".MainActivity"
                android:label="@string/title_activity_main" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
        </application>
    </manifest>



    "Thanks!!! for Reading"

      Modified On Nov-13-2018 09:40:56 PM

Answer