EXPLAIN ANDROIDMANIFEST.XML FILE IN DETAIL.

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 954  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Explain AndroidManifest.xml file in detail.

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.careerride" android:versionCode="1" android:versionName="1.0">
    <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" />
    <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme">
    <activity android:name="com.example.careerride.MainActivity" android:label="@string/app_name">
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    </activity>
    </application>
    </manifest>


    The AndroidManifest.xml file contains the following information about the application:

    • It contains the package name of the application.
    • The version code of the application is 1.This value is used to identify the version number of your application.
    • The version name of the application is 1.0
    • The android:minSdkVersion attribute of the element defines the minimum version of the OS on which the application will run.
    • ic_launcher.png is the default image that located in the drawable folders.
    • app_name defines the name of applicationand available in the strings.xml file.
    • It also contains the information about the activity. Its name is same as the application name.

      Modified On May-28-2015 12:40:35 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!