Android Application Development AND-401 Dumps in PDF

Free Android AND-401 Real Questions (page: 34)

Which of the following classes is used by Intent to transfer data between different android components?

  1. Extras
  2. Bundle
  3. Parcelables
  4. PendingIntent

Answer(s): B

Explanation:

Bundle is generally used for passing data between various activities of android. It depends on you what type of values you want to pass, but bundle can hold all types of values, and pass to the new activity.


Reference:

http://stackoverflow.com/questions/4999991/what-is-a-bundle-in-an-android-application



Which of the following is true about implicit intents? (Choose two)

  1. They do not have a component specified
  2. They have components specified to run an exact class.
  3. They must include information that allows Android system to choose the best component to run.
  4. They must contain extra information saved in a Bundle object.

Answer(s): A,C

Explanation:

Implicit intents do not name a specific component, but instead declare a general action to perform, which allows a component from another app to handle it.


Reference:

http://developer.android.com/guide/components/intents-filters.html



Which of the following classes should be extended to create a custom view?

  1. View
  2. ViewGroup
  3. Context
  4. Activity

Answer(s): A

Explanation:

All of the view classes defined in the Android framework extend View. Your custom view can also extend View directly, or you can save time by extending one of the existing view subclasses, such as Button.


Reference:

http://developer.android.com/training/custom-views/create-view.html



An AsyncTask can be cancelled anytime from any thread.

  1. True
  2. False

Answer(s): A

Explanation:

A task can be cancelled at any time by invoking cancel(boolean).


Reference:

http://developer.android.com/reference/android/os/AsyncTask.html



Which of the following is NOT true about onMeasure() method of class View?

  1. It measures the view and its contents to determine the measured width and height.
  2. It is invoked by measure().
  3. When overriding this method, a developer must call setMeasuredDimension().
  4. It takes three parameters: the height, width, and the depth of the view.

Answer(s): D

Explanation:

Syntax: protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)
onMeasure() measures the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overridden by subclasses to provide accurate and efficient measurement of their contents.


Reference:

http://developer.android.com/reference/android/view/View.html#onMeasure(int, int)



Share your comments for Android AND-401 exam with other users:

H
Harjinder Singh
8/9/2023 4:16:00 AM

its very helpful

S
SD
7/13/2023 12:56:00 AM

good questions

K
kanjoe
7/2/2023 11:40:00 AM

good questons

M
Mahmoud
7/6/2023 4:24:00 AM

i need the dumb of the hcip security v4.0 exam

W
Wei
8/3/2023 4:18:00 AM

upload the dump please

S
Stephen
10/3/2023 6:24:00 PM

yes, iam looking this

S
Stephen
8/4/2023 9:08:00 PM

please upload cima e2 managing performance dumps

H
hp
6/16/2023 12:44:00 AM

wonderful questions

P
Priyo
11/14/2023 2:23:00 AM

i used this site since 2000, still great to support my career

J
Jude
8/29/2023 1:56:00 PM

why is the answer to "which of the following is required by scrum?" all of the following stated below since most of them are not mandatory? sprint retrospective. members must be stand up at the daily scrum. sprint burndown chart. release planning.

M
Marc blue
9/15/2023 4:11:00 AM

great job. hope this helps out.

A
Anne
9/13/2023 2:33:00 AM

upload please. many thanks!

P
pepe el toro
9/12/2023 7:55:00 PM

this is so interesting

A
Antony
11/28/2023 12:13:00 AM

great material thanks

T
Thembelani
5/30/2023 2:22:00 AM

anyone who wrote this exam recently

P
P
9/16/2023 1:27:00 AM

ok they re good

J
Jorn
7/13/2023 5:05:00 AM

relevant questions

A
AM
6/20/2023 7:54:00 PM

please post

N
Nagendra Pedipina
7/13/2023 2:22:00 AM

q:42 there has to be a image in the question to choose what does it mean from the options

B
BrainDumpee
11/18/2023 1:36:00 PM

looking for cphq dumps, where can i find these for free? please and thank you.

S
sheik
10/14/2023 11:37:00 AM

@aarun , thanks for the information. it would be great help if you share your email

R
Random user
12/11/2023 1:34:00 AM

1z0-1078-23 need this dumps

L
labuschanka
11/16/2023 6:06:00 PM

i gave the microsoft azure az-500 tests and prepared from this site as it has latest mock tests available which helped me evaluate my performance and score 919/1000

M
Marianne
10/22/2023 11:57:00 PM

i cannot see the button to go to the questions

S
sushant
6/28/2023 4:52:00 AM

good questions

A
A\MAM
6/27/2023 5:17:00 PM

q-6 ans-b correct. https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-cli-quick-start/use-the-cli/commit-configuration-changes

U
unanimous
12/15/2023 6:38:00 AM

very nice very nice

A
akminocha
9/28/2023 10:36:00 AM

please help us with 1z0-1107-2 dumps

J
Jefi
9/4/2023 8:15:00 AM

please upload the practice questions

T
Thembelani
5/30/2023 2:45:00 AM

need this dumps

A
Abduraimov
4/19/2023 12:43:00 AM

preparing for this exam is overwhelming. you cannot pass without the help of these exam dumps.

P
Puneeth
10/5/2023 2:06:00 AM

new to this site but i feel it is good

A
Ashok Kumar
1/2/2024 6:53:00 AM

the correct answer to q8 is b. explanation since the mule app has a dependency, it is necessary to include project modules and dependencies to make sure the app will run successfully on the runtime on any other machine. source code of the component that the mule app is dependent of does not need to be included in the exported jar file, because the source code is not being used while executing an app. compiled code is being used instead.

M
Merry
7/30/2023 6:57:00 AM

good questions

AI Tutor 👋 I’m here to help!