Manifest File (Cont.)

xmlns:android="http://schemas.android.com/apk/res/android"
The Android namespace, which is used to avoid conflicts with items in unrelated code that have the same names, should always be set to http://schemas.android.com/apk/res/android.

package="com.example.wenchen.helloworld"
This attribute defines the base package for the following Java elements. It must be unique as the Google Play only allows application for a specific package once. Therefore, the reverse domain name such as com.userid as a package name avoids collisions with other developers.

<application
This element is the declaration of the Android package.

android:icon="@mipmap/ic_launcher"
This attribute points to the icon such as , where @mipmap/ic_launcher refers to the file name of the icon in the directory res/mipmap. The icon will be displayed on the device’s apps launcher for this app. The @ values refer to resource files which contain the actual values. This makes it easy to provide different resources, e.g. strings, colors, icons.

android:label="@string/app_name"
The label is displayed on-screen when the activity must be represented to the user. It is often displayed along with the activity icon. This attribute points to the string “HelloWorld,” where @string/app_name refers to the name of the string variable in a separate file res/values/strings.xml.
HelloWorld/app/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest
  xmlns:android  = "http://schemas.android.com/apk/res/android"
  package        = "com.example.wenchen.helloworld" >
 <application
  android:icon   = "@mipmap/ic_launcher"
  android:label  = "@string/app_name"
  android:theme  = "@style/AppTheme" >
  <activity
   android:name  = ".MainActivity"
   android:label = "@string/home_page" >
   <intent-filter>
    <action android:name   = "android.intent.action.MAIN" />
    <category android:name = "android.intent.category.LAUNCHER" />
   </intent-filter>
  </activity>
  <activity android:name  = ".NextActivity"
            android:label = "@string/next_page" />
 </application>
</manifest>




      “Sell your cleverness and buy bewilderment.”    
      ― Rumi, Masnavi i Man’avi, the spiritual couplets of Maula