Which of the following is true about implicit intents? (Choose two)
A. They do not have a component specified.What does this code do?
Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent);
A. Starts a sub-activity.Which of the following is not true about
Consider the following code :
@Override
public void onCreateContextMenu(ContextMenu menu, View v,
ContextMenuInfo menuInfo) {
super.onCreateContextMenu(menu, v, menuInfo);
menu.setHeaderTitle("Menu");
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.Which of the following is not a valid Android resource file name?
A. mylayout.xmlWhich UI does the following code builds?
android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Name:" /> android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:ems="10" />
Which of the following is NOT true about method getWindow() of class Dialog do?
A. It retrieves the current window for the activity.Which of the following is true about this code snippet? (Choose two) Intent intent = new Intent(Intent.ACTION_DIAL,Uri.parse("tel:555-1234")); startActivity(intent);
A. This is an explicit intent that start the system's dialer.Consider the following the code :
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.game_menu, menu);
return true;
}
Which of the following is true about the code above?
A. The code is auto generated and should not be edited.Which of the following are primary pieces of information that are required to define in an implicit Intent?
A. An action to be performed and data to operate on.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Android exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AND-401 exam preparations and Android certification application, do not hesitate to visit our Vcedump.com to find your solutions here.