AND-401 Exam Questions
141 real AND-401 exam questions with expert-verified answers and explanations. Page 3 of 3.
- Question #103
Which of the following is NOT true about a content provider?
- Question #104
Consider the following code snippet: String[] result_columns = new String[] {KEY_ID, COL1, COL2}; Cursor allRows = myDatabase.query(true, DATABASE_TABLE, result_columns, null, null...
- Question #105
Which of the following is NOT true about SQLiteOperHelper class? (Choose two)
- Question #106
Which of the following is NOT true about the SharedPreferences interface?
- Question #107
What does the following code do? dialog.getWindow().setFlags(LayoutParams.FLAG_BLUR_BEHIND, LayoutParams.FLAG_BLUR_BEHIND);
- Question #108
What does the following code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startActivityForResult(intent);
- Question #109
When using an implicit intent, what process does the system use to know what to do with it?
- Question #110
Which of the following is NOT true about the MenuItem interface?
- Question #111
Which of the following is not true about using a WebView in your application?
- Question #112
Which of the following is a rule that developers must always follow when writing multi- threaded Androidapplications? (Choose two)
- Question #113
Which of the following are layout-related methods called by the framework on views, and you can overridethem when customizing a view? (Choose two)
- Question #114
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);
- Question #115
Which of the following tools dumps system log messages including stack traces when the device or emulatorthrows an error?
- Question #116
Javascript is enabled by default in a WebView
- Question #117
Consider the following code : @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, menuInfo); menu.set...
- Question #118
When is the intent resolution process triggered?
- Question #119
Which of the following lines of codes adds zoom controls to a WebView?
- Question #120
Which of the following is true about method startActivity?
- Question #121
Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?
- Question #122
Which of the following best explains the Android context menus?
- Question #123
Which of the following is true about the Dialog class? (Choose two)
- Question #124
Which of the following is NOT true about method getWindow() of class Dialog do?
- Question #125
Consider the following : <?xml version="1.0" encoding="utf-8"?> <item android:id="@+id/create_new" android:title="@string/create_new" /> <item android:id="@+id/open" android:title=...
- Question #126
Which of the following is a NOT valid form of notification invoked by the NotificationManager?
- Question #127
Consider the following AndroidManifest.xml file: <?xml version="1.0" encoding="utf-8"?> package="mycube.test" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:...
- Question #128
Which of the following is not included in the Android application framework?
- Question #129
Which of the following is NOT true about class ListActivity?
- Question #130
Which of the following applies a context menu on a ListView? (Choose two)
- Question #131
What is the second layer from top called in the following diagram of Android's Architecture
- Question #132
Which of the following are primary pieces of information that are required to define in an implicit Intent?
- Question #133
What are the main two types of thread in Android?
- Question #134
Which of the following methods updates a ListView when an element is added to the data set?
- Question #135
Which of the following best explains the Android option menus?
- Question #136
Consider the following AndroidManifest.xml file. <?xml version="1.0" encoding="utf-8"?> package="com.androidatc " android:versionCode="1" android:versionName="1.0" > <uses-sdk andr...
- Question #137
Which of the following you cannot achieve by creating your own View sub-classes?
- Question #138
Which of the following is required to allow the Android Developer Tools to interact with your view?
- Question #139
Which of the following AsyncTask methods is NOT executed on the UI thread?
- Question #140
The values of which of the following classes cannot be mapped in a Bundle object?
- Question #141
Which Which of the following does NOT correctly describe interface android.widget.Adapter?
- Question #142
Which of the following a Notification object must contain? (Choose three)
- Question #143
Which of the following applies to the onDraw() method of class View? (Choose two)