Free AND-401 Exam Braindumps (page: 20)

Page 20 of 58

Which of these is the correct explanation regarding the following methods? (1)android.content.Context.sendBroadcast (2)android.content.Context.startActivity

  1. Both methods are defined by overloading.
  2. Both methods throw an exception.
  3. Both methods are asynchronous.
  4. Both methods are able to broadcast an Intent.

Answer(s): D



Which of the following is incorrect about ProgressDialog?

  1. ProgressDialog inherits from the AlertDialog class.
  2. ProgressDialog can be set as 2 types of style: STYLE_HORIZONTAL and STYLE_SPINNER.
  3. ProgressDialog is able to apply a custom XML-defined layout by using the setContentView(...) method.
  4. ProgressDialog can be freely configured to use a Drawable class to display as its progress bar.

Answer(s): C

Explanation:

Incorrect:
A: ProgressDialog extends the AlertDialog class.
B: STYLE_HORIZONTAL creates a ProgressDialog with a horizontal progress bar. STYLE_SPINNERcreates a ProgressDialog with a circular, spinning progress bar.


Reference:

http://developer.android.com/reference/android/app/ProgressDialog.html



Which of these is the correct function of Traceview?

  1. Displays a graphical task execution log.
  2. Displays graphically a memory acquisition and release log
  3. Displays graphically the call stack.
  4. Displays graphically the Ul state hierarchy.

Answer(s): A

Explanation:

Traceview is a graphical viewer for execution logs saved by your application. Traceview can help you debug your application and profile its performance.


Reference:

http://developer.android.com/tools/help/traceview.html



Which of the following is the correct way to add access permission to your application?

  1. Add a <uses-permission> tag as a child tag of the <manifest> tag in AndroidManifest.xml
  2. Add a <add-permission> tag as a child tag of the <manifest> tag in AndroidManifest.xml.
  3. Add a <uses-permission> tag as a child tag of the <application> tag in AndroidManifest.xml.
  4. add a <permission> tag as a child tag of the <application> tag in AndroidManifest.xml

Answer(s): A

Explanation:

If an application needs access to a feature protected by a permission, it must declare that it requires that permission with a <uses-permission> element in the manifest. Then, when the application is installed on the device, the installer determines whether or not to grant the requested permission by checking the authorities that signed the application's certificates and, in some cases, asking the user. If the permission is granted, the application is able to use the protected features. If not, its attempts to access those features will simply fail without any notification to the user.


Reference:

http://developer.android.com/guide/topics/manifest/manifest-intro.html



Page 20 of 58



Post your Comments and Discuss Android AND-401 exam with other Community members:

Anon commented on December 28, 2024
Very helpful
UNITED STATES
upvote

Sachin Kamble commented on December 28, 2024
useful information
Anonymous
upvote

Sachin Kamble commented on December 28, 2024
very interesting and useful onformation
Anonymous
upvote

Bosco Oico commented on December 28, 2024
Yes. i have used this dump for CFE Investigations test yesterday- i found it useful because questions about 60% were closely related and some were exact. The only thing that needs to be improved is the accuracy of the answers. If some one read the CFE manual well, you will notice that some answers as they are answered according to the ACFE standard. So, i encourage anyone using Brain to verify answers, otherwise, its a good source to create confidence and sure pass
UGANDA
upvote

velu commented on December 28, 2024
nice,very useful
Anonymous
upvote

Sai commented on December 28, 2024
I need okta dumps
Anonymous
upvote

Edison Vásquez commented on December 28, 2024
Muy bueno todo muy bien explicado
Anonymous
upvote

TMUNI commented on December 28, 2024
Questions are addressed, but need clarification
UNITED STATES
upvote

TRYY commented on December 28, 2024
Does it work
UNITED STATES
upvote

Ama commented on December 27, 2024
are the comments real
UNITED STATES
upvote

manikanta commented on December 27, 2024
Hi may i know the exam fee and how to apply
UNITED STATES
upvote

Sidney commented on December 27, 2024
Learning a lot
Anonymous
upvote

Dhabya commented on December 27, 2024
Amazing prep
BAHRAIN
upvote

Sidney commented on December 27, 2024
Great questions
Anonymous
upvote

DEE commented on December 27, 2024
nice questions to practice your knowledge and prepare for the exam however I advice everyone to double-check each answer as I've faced many wrong ones
Anonymous
upvote

A commented on December 27, 2024
Are these questions valid?
UNITED STATES
upvote

raj commented on December 27, 2024
Good explaniation for the ans
Anonymous
upvote

Pooja commented on December 27, 2024
Very useful for exam
CHINA
upvote

Sudeep commented on December 27, 2024
Good collection
Anonymous
upvote

Akki1990 commented on December 27, 2024
I am happy !
Anonymous
upvote

Imran commented on December 27, 2024
This is nice stuff
Anonymous
upvote

Akki1990 commented on December 27, 2024
This is really good way to revise all topics , Thank you so much !
Anonymous
upvote

Saf commented on December 27, 2024
Very Useful
Anonymous
upvote

Hekka commented on December 27, 2024
Good set of questions
Anonymous
upvote

Amber commented on December 27, 2024
Passed the exam today. It is going to be a great new year.
UNITED STATES
upvote

Microsoftee commented on December 27, 2024
Thank you so much. Nice material.
Anonymous
upvote

sandy commented on December 27, 2024
good content
Anonymous
upvote

anonymous a commented on December 27, 2024
helpful stuff
Anonymous
upvote

Ravi commented on December 27, 2024
So far so good
INDIA
upvote

Poo commented on December 27, 2024
Useful data
Anonymous
upvote

Cosy commented on December 26, 2024
I am loving it here
Anonymous
upvote

Tanuja Bhusal commented on December 26, 2024
Good Questions
Anonymous
upvote

anonymous commented on December 26, 2024
Just going through the questions for my understanding of Power Bi
UNITED STATES
upvote

laks commented on December 26, 2024
so far seems good
UNITED STATES
upvote