[Mar-2016 Dumps] All Vaild AND-401 143q Braindump Offered By PassLeader For Free Download

New Updated AND-401 Exam Questions from PassLeader AND-401 PDF dumps! Welcome to download the newest PassLeader AND-401 VCE dumps: http://www.passleader.com/and-401.html (143 Q&As)

Keywords: AND-401 exam dumps, AND-401 exam questions, AND-401 VCE dumps, AND-401 PDF dumps, AND-401 practice tests, AND-401 study guide, AND-401 braindumps, Android Application Development Exam

Consider the following code:
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {super.onCreateContextMenu(menu, v, menuInfo);
AdapterContextMenuInfo cmi = (AdapterContextMenuInfo) menuInfo;
menu.add(1, cmi.position, 0, “Open file”);
menu.add(2, cmi.position, 0, “Save file”);}
Which of the following best explains the code above?

A. The code inflates an xml file into menu items.
B. The code creates menu items for context menu programmatically.
C. The code assign actions to menu items.
D. The code Opens a menu resource file, modifies it, and saves the changes.

Answer: B

When is the intent resolution process triggered?

A. When the system receives an implicit intent to start an activity.
B. When an explicit intent starts a service.
C. When the system receives an explicit intent to start an activity.
D. When the application calls method startAcitivyIntentResolution.

Answer: A

Which of the following lines of codes adds zoom controls to a WebView?

A. webView.getSettings().setBuiltInZoomControls(true);
B. webView.getSettings().setZoomControls(true);
C. webView.getZoomSettings().setControls(CONTROLS.enabled);
D. Zoom controls are included by default in WebViews.

Answer: A

Which of the following is true about method startActivity?

A. It starts a new activity and destroys the previous one.
B. It starts a new activity and sends the previous one to the background.
C. It starts a new activity and pauses the previous one.
D. It starts a new activity in a paused mode.

Answer: B

Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?

A. PageView
B. WebView
C. MapView
D. HttpClient

Answer: B

Which of the following best explains the Android context menus?

A. It is a popup menu displays a list of items in a vertical list that’s anchored to the view that invoked the menu.
B. It is a floating menu that appears when the user performs a long-click on an element. It provides actions that affect the selected content or context frame.
C. It is the primary collection of menu items for an activity. It’s where you should place actions that have a global impact on the app, such as “Search,” “Compose email,” and “Settings”.
D. It is a sub-menu of an options menu item.

Answer: B

Which of the following is true about the Dialog class? (Choose two)

A. You can add a custom layout to a dialog using setContentView().
B. A dialog has a life-cycle independent of the Activity.
C. A dialog is displayed on the screen using method show().
D. It does not have a method to access the activity that owns it.

Answer: AC

Which of the following is NOT true about method getWindow() of class Dialog do?

A. It retrieves the current window for the activity.
B. It can be used to access parts of the Windows API.
C. It displays the dialog on the screen.
D. It returns null if the activity is not visual.

Answer: C


Download the newest PassLeader AND-401 dumps from passleader.com now! 100% Pass Guarantee!

AND-401 PDF dumps & AND-401 VCE dumps: http://www.passleader.com/and-401.html (143 Q&As)