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
Q206: Custom views for notifications are allowed in
Q207: Which of the following statements are NOT
Q208: Which of the following is correct dependency
Q209: Capturing GPS coordinates require creating a project
Q210: Which of the following interfaces is necessary
Q212: Which of the following statements are correct
Q213: When the user clicks on an action
Q214: You are building an application that supports
Q215: Which of the following is NOT true
Q216: Which of the following functions is used
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents