Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Android > Android Certifications > AND-801 > AND-801 Online Practice Questions and Answers

AND-801 Online Practice Questions and Answers

Questions 4

Consider the following AndroidManifest.xml file:

package="com.mkyong.android"

android:versionCode="1"

android:versionName="1.0" >

android:icon="@drawable/ic_launcher"

android:label="@string/app_name" >

android:name=".WebViewActivity"

android:theme="@android:style/Theme.NoTitleBar" >

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.

Buy Now

Correct Answer: C

Questions 5

Which configuration file holds the permission to use the internet?

A. Layout file

B. Property file

C. Java source file

D. Manifest file

Buy Now

Correct Answer: D

Questions 6

Which UI does the following code builds?

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="vertical" >

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="horizontal" >

android:id="@+id/textView1"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Name:" />

android:id="@+id/editText1"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_weight="1"

android:ems="10" />

Buy Now

Correct Answer: C

Questions 7

Which of these is not defined as a process state?

A. Non-visible

B. A Visible

C. Foreground

D. Background

Buy Now

Correct Answer: A

Questions 8

Consider the following AndroidManifest.xml file:

package="mycube.test"

android:versionCode="1"

android:versionName="1.0" >

android:minSdkVersion="8"

android:targetSdkVersion="17" />

android:icon="@drawable/ic_launcher"

android:label="@string/app_name"

android:theme="@android:style/Theme.Light.NoTitleBar" >

android:screenOrientation="portrait"

android:label="@string/app_name" >

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 package name must be "com.mycube.test".

D. The tag for Activity ".Compute" should be contained inside tag.

Buy Now

Correct Answer: C

Questions 9

Which of the following lines of code starts activity Activity2 from a current activity Activity1?

A. Intent intent = new Intent(this,new Activity2());startActivity(intent);

B. Intent intent = new Intent(new Activity2());startActivity(intent);

C. Intent intent = new Intent (Activity1.class,Activity2.class);startActivity(intent);

D. Intent intent = new Intent(this,Activity2.class);startActivity(intent);

Buy Now

Correct Answer: D

Questions 10

Consider the following :

android:title="@string/create_new" />

android:title="@string/open" />

public boolean onOptionsItemSelected(MenuItem item) {

switch (item.getItemId()) {

case R.id.create_new:

newFile();

return true

default:

return super.onOptionsItemSelected(item);

}

} Upon clicking on one of the menu items, the application did not behave as intended. Which of the following might be the cause of this problem?

A. The developer did not set onClickListener on the menu item.

B. The developer did not include a case that corresponds to the menu item in method onOptionsItemSelected.

C. The developer should create onOptionsItemSelected method for each menu item.

D. The developer should add the item to the menu resource file.

Buy Now

Correct Answer: B

Questions 11

Which of the following is NOT true about the MenuItem interface?

A. The MenuItem instance will be returned by the Menu class add(...) method.

B. MenuItem can decide the Intent issued when clicking menu components.

C. MenuItem can display either an icon or text.

D. MenuItem can set a checkbox.

Buy Now

Correct Answer: B

Questions 12

Which of the following is true about this code snippet? (Choose two) Intent intent = new Intent(Intent.ACTION_DIAL,Uri.parse("tel:555-1234")); startActivity(intent);

A. This is an explicit intent that start the system's dialer.

B. The system will not dial the number without adding permission CALL_PHONE.

C. The system will perform an intent resolution to start the proper activity.

D. The code will not compile.

Buy Now

Correct Answer: AC

Questions 13

What does the following code snippet do?

A. Creates a FrameView.

B. Creates a Cradview.

C. Creates a RecyclerView.

D. Creates a ListView-

Buy Now

Correct Answer: C

Exam Code: AND-801
Exam Name: Android Application Development v8
Last Update: Jun 13, 2025
Questions: 174

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2025 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.