Solved

Consider the Following AndroidManifest.xml File: ≪?xml Version="1.0" Encoding="utf-8"?>

Question 97

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.mkyong.android"     
Android:versionCode="1"     
Android:versionName="1.0" >
<uses-sdk android:minSdkVersion="10" />
<uses-permission android:name="android.permission.WebActivity " />
<application         android:icon="@drawable/ic_launcher"         
Android:label="@string/app_name" >
<activity             
Android:name=".WebViewActivity"             
Android:theme="@android:style/Theme.NoTitleBar" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest> Supposing the application connects to the internet at startup, which of the following is true?


A) The application throws an exception indicating it does not have permission to access the URL
B) The application will work as intended
C) The application won't compile
D) The application throws a java.lang.SecurityException

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents