Free AND-401 Exam Braindumps (page: 13)

Page 13 of 58

What does the following code do?
dialog.getWindow().setFlags(LayoutParams.FLAG_BLUR_BEHIND,
LayoutParams.FLAG_BLUR_BEHIND);

  1. When dialog is displayed the activity behind it will be blurred.
  2. When dialog is displayed the activity behind it will be dimmed.
  3. Any EditText behind the dialog will be disabled.
  4. When the dialog is displayed, the edges of the dialog will be blurred.

Answer(s): A

Explanation:

public static final int FLAG_BLUR_BEHIND
Window flag: blur everything behind this window.
Note: Added in API level 1
This constant was deprecated in API level 14.
Blurring is no longer supported.


Reference:

http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_BLUR_BEHIND



What does the following code achieve?
Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startActivityForResult(intent);

  1. Starts a browser activity
  2. Starts a sub-activity
  3. Starts an activity service
  4. Sends results to another activity.

Answer(s): B

Explanation:

startActivityForResult launches an activity for which you would like a result when it finished.


Reference:

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



When using an implicit intent, what process does the system use to know what to do with it?

  1. Intent resolution
  2. Intent declaration
  3. Intent overloading
  4. Intent transition

Answer(s): A

Explanation:

When using implicit intents, given such an arbitrary intent we need to know what to do with it. This is handled by the process of Intent resolution, which maps an Intent to an Activity, BroadcastReceiver, or Service (or sometimes two or more activities/receivers) that can handle it.
The intent resolution mechanism basically revolves around matching an Intent against all of the <intent-filter> descriptions in the installed application packages.


Reference:

http://developer.android.com/reference/android/content/Intent.html



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

  1. The MenuItem instance will be returned by the Menu class add(...) method.
  2. MenuItem can decide the Intent issued when clicking menu components.
  3. MenuItem can display either an icon or text.
  4. MenuItem can set a checkbox.

Answer(s): C

Explanation:

Both an icon and text can be displayed.
The <item> element supports several attributes you can use to define an item's appearance and behavior. The items in the above menu include the following attributes:
android:id
A resource ID that's unique to the item, which allows the application to recognize the item when the user selects it.
android:icon
A reference to a drawable to use as the item's icon.
android:title
A reference to a string to use as the item's title.
Incorrect:
B: Adding Menu Items Based on an Intent
Sometimes you'll want a menu item to launch an activity using an Intent (whether it's an activity in your application or another application). When you know the intent you want to use and have a specific menu item that should initiate the intent, you can execute the intent with startActivity() during the appropriate on-itemselected callback method (such as the onOptionsItemSelected() callback).
However, if you are not certain that the user's device contains an application that handles the intent, then adding a menu item that invokes it can result in a non-functioning menu item, because the intent might not resolve to an activity. To solve this, Android lets you dynamically add menu items to your menu when Android finds activities on the device that handle your intent.


Reference:

http://developer.android.com/guide/topics/ui/menus.html



Page 13 of 58



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

Lawrence commented on October 26, 2024
Absolutely excellent
Anonymous
upvote

ABC commented on October 26, 2024
I found these dumps are useful
INDIA
upvote

Rupa commented on October 26, 2024
Getting good practice with the qs
Anonymous
upvote

vinay commented on October 25, 2024
practice test
UNITED STATES
upvote

Shree commented on October 25, 2024
recomendeds . Thanks
Anonymous
upvote

Olympia commented on October 25, 2024
The free version is good but does not have all questions. However the PDF has double the amount of questions and very helpful to pass the exam.
Canada
upvote

Scruzer commented on October 25, 2024
Cleared this exam today. Questions are still valid.
EUROPEAN UNION
upvote

Vidhi Mishra commented on October 25, 2024
Nice set of questions
Anonymous
upvote

Srivats commented on October 25, 2024
Hello, Great learning. Thank you. Looks like Question 13's answer should be D. "If you plan to use the segment again, stop the publish schedule instead" as highlighted in doc.
Anonymous
upvote

Priest-Son commented on October 24, 2024
helpful questions also in other forums
UNITED STATES
upvote

Simon commented on October 24, 2024
guys waht do you think about this dump?
Anonymous
upvote

Kay commented on October 24, 2024
There's new test updated for network+: N10-009. Hope we could have it soon.
Anonymous
upvote

John Como commented on October 24, 2024
Very helpful
UNITED STATES
upvote

saif Ali commented on October 24, 2024
for Question no 50 The answer would be using lambda vdf as this provides automation
INDIA
upvote

Baghya commented on October 24, 2024
Yeh dumps use kiye aur exam mein pass ho gaya.
INDIA
upvote

Varma commented on October 24, 2024
Thanks team and Thanks to these dumps, I’ve never felt so confident about last-minute prep!
INDIA
upvote

Darko commented on October 24, 2024
Passed! let’s just say these dumps were the secret weapon.
EUROPEAN UNION
upvote

Machoo987 commented on October 24, 2024
Studying wasn’t working, so I turned to these dumps—best decision I made since pizza for breakfast!
UNITED STATES
upvote

Zuby commented on October 24, 2024
Nice Question
UNITED STATES
upvote

Chandara commented on October 24, 2024
I passed with ease, and now I have to explain to my friends how ‘studying’ got me through. hahah
INDIA
upvote

Jack commented on October 24, 2024
Muito bom as perguntas
Anonymous
upvote

Diogo Gomes commented on October 24, 2024
As Muhammad Saleem comented, question 20 is wrong. Entities are found in the Data layer and not in the Interface layer.
UNITED STATES
upvote

Neena commented on October 24, 2024
This dump PDF gets the job done
Anonymous
upvote

test commented on October 24, 2024
good one to go through
Anonymous
upvote

Kamal commented on October 24, 2024
I’m 90% sure I owe my new certification to these dumps, and 10% to coffee. LOL Questions are valid and same in the real exam.
Netherlands
upvote

Maseh commented on October 24, 2024
Who knew cramming could be so effective? These dumps saved me from a meltdown!
EUROPEAN UNION
upvote

Drew commented on October 24, 2024
Used these dumps, nailed the exam—now I’m basically a genius (or close enough).
Australia
upvote

Shawn commented on October 24, 2024
As you must know by now the exam is extremely hard. The only way to pass is to know the questions and answers and I found these dump questions very relevant to actual exam.
Canada
upvote

Vidhi Mishra commented on October 24, 2024
Huge set of Cloud Dital leader exam
Anonymous
upvote

jakir commented on October 24, 2024
its really more help full.
BANGLADESH
upvote

TheUser commented on October 23, 2024
So far seems good
Anonymous
upvote

John commented on October 23, 2024
great insight
BOTSWANA
upvote

nigga commented on October 23, 2024
niggaaaaaaaaaa
CANADA
upvote

Chris commented on October 23, 2024
Is this site currently valid for the AZ-900 exam as of October 23, 2024?
Anonymous
upvote