Multiple Choice
Consider the following AndroidManifest.xml file: <?xml version="1.0" encoding="utf-8"?>
<manifest
Xmlns:android="http://schemas.android.com/apk/res/android"
Package="com.androidatc.test"
Android:versionCode="1"
Android:versionName="1.0" >
<uses-sdk
Android:minSdkVersion="8"
Android:targetSdkVersion="17" />
<application
Android:icon="@drawable/ic_launcher"
Android:label="@string/app_name"
Android:theme="@android:style/Theme.Light.NoTitleBar" >
<activity
Android:screenOrientation="portrait"
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>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<activity android:name=".Compute" android:screenOrientation="portrait" />
</manifest> What is the syntax error of this file?
A) The INTERNET permission must be removed.
B) Tag uses-sdk must have attribute android:maxSdkVersion set.
C) The activity under <application> tag should have the android:name property.
D) The <activity> tag for Activity ".Compute" should be contained inside <application> tag.
Correct Answer:

Verified
Correct Answer:
Verified
Q54: Which of these is the correct function
Q55: Which file specifies the minimum required Android
Q56: Which of the following tools dumps system
Q57: Which of the following tags is not
Q58: Which of the following permissions is not
Q60: Which of the following options are true
Q61: In which Android version were Runtime permissions
Q62: Which of the following is NOT true
Q63: What is the location of APK generated
Q64: Which of the following makes a ListView