Android Application Development AND-401 Dumps in PDF

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

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:

M
Miguel
10/5/2023 12:21:00 PM

question 16: https://help.salesforce.com/s/articleview?id=sf.care_console_overview.htm&type=5

H
Hiren Ladva
7/8/2023 10:34:00 PM

yes i m prepared exam

O
oliverjames
10/24/2023 5:37:00 AM

my experience was great with this site as i studied for the ms-900 from here and got 900/1000 on the test. my main focus was on the tutorials which were provided and practice questions. thanks!

B
Bhuddhiman
7/20/2023 11:52:00 AM

great course

A
Anuj
1/14/2024 4:07:00 PM

very good question

S
Saravana Kumar TS
12/8/2023 9:49:00 AM

question: 93 which statement is true regarding the result? sales contain 6 columns and values contain 7 columns so c is not right answer.

L
Lue
3/30/2023 11:43:00 PM

highly recommend just passed my exam.

D
DC
1/7/2024 10:17:00 AM

great practice! thanks

A
Anonymus
11/9/2023 5:41:00 AM

anyone who wrote this exam recently?

K
Khalid Javid
11/17/2023 3:46:00 PM

kindly share the dump

N
Na
8/9/2023 8:39:00 AM

could you please upload cfe fraud prevention and deterrence questions? it will be very much helpful.

S
shime
10/23/2023 10:03:00 AM

this is really very very helpful for mcd level 1

V
Vnu
6/3/2023 2:39:00 AM

very helpful!

S
Steve
8/17/2023 2:19:00 PM

question #18s answer should be a, not d. this should be corrected. it should be minvalidityperiod

R
RITEISH
12/24/2023 4:33:00 AM

thanks for the exact solution

S
SB
10/15/2023 7:58:00 AM

need to refer the questions and have to give the exam

M
Mike Derfalem
7/16/2023 7:59:00 PM

i need it right now if it was possible please

I
Isak
7/6/2023 3:21:00 AM

i need it very much please share it in the fastest time.

M
Maria
6/23/2023 11:40:00 AM

correct answer is d for student.java program

N
Nagendra Pedipina
7/12/2023 9:10:00 AM

q:37 c is correct

J
John
9/16/2023 9:37:00 PM

q6 exam topic: terramearth, c: correct answer: copy 1petabyte to encrypted usb device ???

S
SAM
12/4/2023 12:56:00 AM

explained answers

A
Andy
12/26/2023 9:35:00 PM

plan to take theaws certified developer - associate dva-c02 in the next few weeks

S
siva
5/17/2023 12:32:00 AM

very helpfull

M
mouna
9/27/2023 8:53:00 AM

good questions

B
Bhavya
9/12/2023 7:18:00 AM

help to practice csa exam

M
Malik
9/28/2023 1:09:00 PM

nice tip and well documented

R
rodrigo
6/22/2023 7:55:00 AM

i need the exam

D
Dan
6/29/2023 1:53:00 PM

please upload

A
Ale M
11/22/2023 6:38:00 PM

prepping for fsc exam

A
ahmad hassan
9/6/2023 3:26:00 AM

pd1 with great experience

Ž
Žarko
9/5/2023 3:35:00 AM

@t it seems like azure service bus message quesues could be the best solution

S
Shiji
10/15/2023 1:08:00 PM

helpful to check your understanding.

D
Da Costa
8/27/2023 11:43:00 AM

question 128 the answer should be static not auto

AI Tutor 👋 I’m here to help!