Interview answers verified by specialists.

Find interview questions and answers on this website:


See right interview answers on 30 common job interview questions

Explain AndroidManifest.xmlfile 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.

Do you know that?

Always sketch out your ideas first before designing on the computer. Next

Articles:

Fast Payments
Payoneer sing up to get free 
$25