You are on page 1of 72

Android.AND-401.v2018-03-22.

q208
Exam Code: AND-401
Exam Name: Android Application Development
Certification Provider: Android
Free Question Number: 208
Version: v2018-03-22
# of views: 470
# of Questions views: 30934
https://www.freecram.com/torrent/Android.AND-401.v2018-03-22.q208.html

NEW QUESTION: 1
Which of the following is a correct Android Manifest statement?
A. <uses-permission android:name ="android.Internet"/>
B. <uses-permission android:name ="android.Internet"></uses-permission>
C. <uses-permission android:name ="android.permission.Internet">
D. <uses-permission android:name ="android. permission .Internet"/>
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 2
Which of the following are layout-related methods called by the framework on views, and
you can override them when customizing a view? (Choose two)
A. onMeasure().
B. onDraw().
C. onKeyUp().
D. onSizeChanged().
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
http://developer.android.com/reference/android/view/View.html

NEW QUESTION: 3
Which of the following is true about attribute android:windowSoftInputMode of the <activity>
tag in file AndroidManifest.xml?
A. It specifies whether the window is in full screen or not
B. It adjusts how the main window of the activity interacts with keyboard
C. It adjusts how the window should be launched
D. It adjusts the window orientation
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 4
Which of the following are benefits for using fragments in your application? (Choose two)
A. Simplify the reusability of UI components.
B. Build different layouts for different device configurations.
C. Add an action bar to your application.
D. Dynamically add and remove UI components to an activity.
Answer: B,D (LEAVE A REPLY)
Explanation/Reference:
B: Following is a typical example of how two UI modules defined by fragments can be
combined into one activity for a tablet design, but separated for a handset design.

D: You can combine multiple fragments in a single activity to build a multi-plane UI.
References:
http://www.tutorialspoint.com/android/android_fragments.htm
https://developer.android.com/guide/components/fragments.html

NEW QUESTION: 5
How many constraint handles are available to us as part of the ConstraintLayout?
A. Resize Handle, Side Constraint Handle, Baseline Constraint Handle.
B. Review Handle, Sides Handle.
C. All answers are incorrect.
D. Rescope Handle, Edges Constraint Handle, Centre Constraint Handle.
Answer: A (LEAVE A REPLY)
NEW QUESTION: 6
Consider the following code:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(android.net.Uri.parse("http://www.androidatc.com"));
startActivity(intent);
Which of the following is correct about the code above?
A. It will not compile without adding the INTERNET permission the Manifest file.
B. It sends a result to a new Activity in a Bundle.
C. It starts any activity in the application that has a WebView in its layout.
D. When it is executed, the system starts an intent resolution process to start the right
Activity.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 7
Which of the following is required for getting the best output from performance profiling tools
in Android Studio?
A. It works only on real devices.
B. Disable the instant run before profiling the app.
C. Enable the instant run before profiling the app.
D. It works only on real devices and enable the instant run before profiling the app.
Answer: (SHOW ANSWER)

NEW QUESTION: 8
Which of the following is true about implicit intents? (Choose two)
A. They do not have a component specified
B. They have components specified to run an exact class.
C. They must include information that allows Android system to choose the best component
to run.
D. They must contain extra information saved in a Bundle object.
Answer: A,C (LEAVE A REPLY)
Explanation/Reference:
Implicit intents do not name a specific component, but instead declare a general action to
perform, which allows a component from another app to handle it.
References:
http://developer.android.com/guide/components/intents-filters.html

NEW QUESTION: 9
Which of the following is the correct way to add access permission to your application?
A. Add a <uses-permission> tag as a child tag of the <manifest> tag in AndroidManifest.xml
B. Add a <add-permission> tag as a child tag of the <manifest> tag in AndroidManifest.xml.
C. Add a <uses-permission> tag as a child tag of the <application> tag in
AndroidManifest.xml.
D. add a <permission> tag as a child tag of the <application> tag in AndroidManifest.xml
Answer: (SHOW ANSWER)
Explanation/Reference:
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.
References:
http://developer.android.com/guide/topics/manifest/manifest-intro.html

NEW QUESTION: 10
Which of the following Activity life-cycle methods is invoked first when another activity is
shown?
A. onCreate( )
B. onPause( )
C. onDestroy( )
D. onStop( )
Answer: B (LEAVE A REPLY)

NEW QUESTION: 11
Which of the following tools creates certificates for signing Android applications?
A. adb
B. logcat
C. keytool
D. certgen
Answer: C (LEAVE A REPLY)
Explanation/Reference:
You do not need Android Studio to sign your app. You can sign your app from the command
line using standard tools from the Android SDK and the JDK. To sign an app in release
mode from the command line:
1. Generate a private key using keytool. For example:
$ keytool -genkey -v -keystore my-release-key.keystore
-alias alias_name -keyalg RSA -keysize 2048 -validity 10000
2. Compile your app in release mode to obtain an unsigned APK.
3. Sign your app with your private key using jarsigner:
References:
http://developer.android.com/tools/publishing/app-signing.html

NEW QUESTION: 12
Which of the following Activity life-cycle methods is called once the activity is no longer
visible?
A. onStop
B. onPause
C. onDestroy
D. onHide
Answer: A (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 13
When publishing an update to your application to the market, the following must be taken
into consideration:
A. The package name must be the same, but the .apk may be signed with a different private
key.
B. The package name does not have to be the same and the .apk can be signed with a
different private key.
C. The package name must be the same and the .apk must be signed with the same private
key.
D. The package name does not have to be the same, but the .apk must be signed with the
same private key.
Answer: (SHOW ANSWER)
Explanation/Reference:
You should sign all of your apps with the same certificate throughout the expected lifespan
of your applications.
App upgrade: When the system is installing an update to an app, it compares the
certificate(s) in the new version with those in the existing version. The system allows the
update if the certificates match. If you sign the new version with a different certificate, you
must assign a different package name to the application - in this case, the user installs the
new version as a completely new application.
References:
http://developer.android.com/tools/publishing/app-signing.html

NEW QUESTION: 14
Which of the following adds a click listener to items in a ListView?
A. setonClickListener
B. setonItemClickListener
C. setonItemClicked
D. setonListItemClickListener
Answer: (SHOW ANSWER)
Explanation/Reference:
SetOnItemClickListener(AdapterView.OnItemClickListener listener) registers a callback to
be invoked when an item in this AdapterView has been clicked.
Note: An AdapterView is a view whose children are determined by an Adapter.
Incorrect:
A: SetOnClickListener (View.OnClickListener l) registers a callback to be invoked when this
view is clicked.
If this view is not clickable, it becomes clickable.
References:
http://developer.android.com/reference/android/widget/AdapterView.html

NEW QUESTION: 15
Which of the following is NOT true about class ListActivity?
A. A data source that can be bound in a ListActivity can be an array or Cursor holding query
results.
B. It contains a ListView object that can be bound to different data sets.
C. An activity that displays a list of items by binding to a data set.
D. Its layout must be set by calling method setContentView inside onCreate.
Answer: (SHOW ANSWER)

NEW QUESTION: 16
Which of the following you cannot achieve by creating your own View sub-classes?
A. Create a completely new customized View type.
B. Combine a group of View components into a new single component.
C. Specify when to destroy an activity and all its views.
D. Override the way that an existing component is displayed on the screen.
Answer: A (LEAVE A REPLY)
Explanation/Reference:
Incorrect:
B: A view can be comprised of multiple other views (otherwise known as a composite view).
Such views are subclassed from the Android ViewGroup class (android.view.ViewGroup)
which is itself a subclass of View.
References:
http://developer.android.com/training/custom-views/create-view.html
Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401
Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 17
Which of the following is the base class of all UI components?
A. ListView
B. Layout
C. View
D. ViewGroup
Answer: (SHOW ANSWER)
Explanation/Reference:
View is the base class for android.widget subclasses, which instantiate fully-implemented UI
objects.
References:
http://eagle.phys.utk.edu/guidry/android/androidUserInterface.html

NEW QUESTION: 18
Which of the following methods is called first in an Activity when another activity gets into
the foreground?
A. onStop()
B. onPause()
C. onDestroy()
D. onExit()
Answer: (SHOW ANSWER)
Explanation/Reference:
onPause() is where you deal with the user leaving your activity.
References:
http://developer.android.com/reference/android/app/Activity.html

NEW QUESTION: 19
Which of the following statements are NOT needed to adding support for RecyclerView with
CardView in your application? (Choose two.)
A. dependencies { compile 'com.android.support:recyclerview-v7:24.2.1' }
B. dependencies { compile 'com.android.support:cardview-v7:24.2.1' }
C. dependencies { compile 'com.android.support.recyclerview:design:24.2.1' }
D. dependencies { compile 'com.android.support.recyclerview-v7:24.2.1' }
Answer: (SHOW ANSWER)

NEW QUESTION: 20
Which of the following is true about object arrayAdapter declared in the code below?
String[] items = {"Item 1","Item 2","Item 3"};
ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, items);
listView.setAdapter(arrayAdapter);
A. It replaces the layout of the activity with three consecutive TextView items.
B. It creates a TextView for each String in array items.
C. It creates four views for listView.
D. It creates Buttons for each String in array items.
Answer: (SHOW ANSWER)

NEW QUESTION: 21
Which version of Android Studio introduced the "Instant Run" feature?
A. 2.0
B. 1.5
C. 2.2
D. 1.4
Answer: A (LEAVE A REPLY)

NEW QUESTION: 22
Which method is used to close an activity?
A. Destroy()
B. Finish()
C. Stop()
D. Close()
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 23
Which of the following applies to the onDraw( ) method of class View? (Choose two)
A. It uses the Canvas parameter to draw the border of the activity that contains it.
B. It must be overridden if a customized drawing of a view is required.
C. It takes two parameters: a Canvas and a View.
D. It takes one parameter of type Canvas.
Answer: (SHOW ANSWER)
NEW QUESTION: 24
Which of the following classes is used by Intent to transfer data between different android
components?
A. Extras
B. Bundle
C. Parcelables
D. PendingIntent
Answer: B (LEAVE A REPLY)
Explanation/Reference:
Bundle is generally used for passing data between various activities of android. It depends
on you what type of values you want to pass, but bundle can hold all types of values, and
pass to the new activity.
References:
http://stackoverflow.com/questions/4999991/what-is-a-bundle-in-an-android-application

NEW QUESTION: 25
Which Android permission you should add to allow your application to read the device's
address book?
A. READ_ADDRESS_DATA
B. READ_PHONE_STATE
C. READ_PHONE_CONTACTS
D. READ_CONTACTS
Answer: (SHOW ANSWER)
Explanation/Reference:
To do any type of search of the Contacts Provider, your app must have READ_CONTACTS
permission. To request this, add this <uses-permission> element to your manifest file as a
child element of <manifest>:
<uses-permission android:name="android.permission.READ_CONTACTS" />
References:
http://developer.android.com/training/contacts-provider/retrieve-names.html

NEW QUESTION: 26
Which of the following is NOT true about class DefaultHttpClient?
A. It supports HTTPS.
B. It supports streaming uploads and downloads.
C. It is only supported on Android versions 2.2 and older.
D. It is Andriod's default implementation of an HTTP client.
Answer: C (LEAVE A REPLY)
Explanation/Reference:
Android 6.0 release removes support for the Apache HTTP client. If your app is using this
client and targets Android 2.3 (API level 9) or higher, use the HttpURLConnection class
instead.
References:
http://developer.android.com/about/versions/marshmallow/android-6.0-
changes.html#behavior-apache-
http-client

NEW QUESTION: 27
What does the following code achieve?
Intent intent = new Intent(FirstActivity.this, SecondActivity.class);
startActivityForResult(intent);
A. Starts a browser activity
B. Starts a sub-activity
C. Starts an activity service
D. Sends results to another activity.
Answer: (SHOW ANSWER)
Explanation/Reference:
startActivityForResult launches an activity for which you would like a result when it finished.
References:
http://developer.android.com/reference/android/app/Activity.html

NEW QUESTION: 28
What existing layout is closest to ConstraintLayout in terms of functionality?
A. LinearLayout
B. FrameLayout
C. GridLayout
D. All answers are incorrect
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
https://developer.android.com/training/constraint-layout/index.html

NEW QUESTION: 29
Which of the following is NOT a feature provided by the Material Theme?
A. System widgets that let you set their color palette.
B. Adding a fragment component to layout.
C. Activity transition animations.
D. Touch feedback animations for the system widgets.
Answer: B (LEAVE A REPLY)
Explanation/Reference:
Material theme provides:
System widgets that let you set their color palette
Touch feedback animations for the system widgets
Activity transition animations
References:
http://developer.android.com/training/material/theme.html

NEW QUESTION: 30
Which of following is incorrect about the Toast class?
A. You cannot set a custom layout for a Toast.
B. A Toast can only be created by an Activity class
C. There is no need to close or hide a Toast, since it closes automatically.
D. A Toast is displayed for only one of the following periods: Toast.LENGHT_SHORT or
Toast.LENGTH_LONG
Answer: (SHOW ANSWER)
Explanation/Reference:
An Android Toast is a small message displayed on the screen, similar to a tool tip or other
similar popup notification. A Toast is displayed on top of the main content of an activity, and
only remains visible for a short time period.
References:
http://tutorials.jenkov.com/android/toast.html

NEW QUESTION: 31
Which of the following Activity methods is invoked when the user clicks on an options menu
item?
A. onItemClicked
B. onItemSelected
C. onOptionsItemClicked
D. onOptionsItemSelected
Answer: D (LEAVE A REPLY)
Explanation/Reference:
When the user selects an item from the options menu (including action items in the app bar),
the system calls your activity's onOptionsItemSelected() method.
References:
http://developer.android.com/guide/topics/ui/menus.html

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 32
Which one of the following statements is NOT a function of the Action Bar?
A. It provides a dedicated space on the screen to identify the current activity to the user.
B. It facilitates the accessibility to important application actions.
C. It loads web URLs to display HTML pages.
D. It supports consistent navigation and view switching within apps.
Answer: C (LEAVE A REPLY)
Explanation/Reference:
The key functions of the app bar are as follows:
A dedicated space for giving your app an identity and indicating the user's location in the
app.
Access to important actions in a predictable way, such as search.
Support for navigation and view switching (with tabs or drop-down lists).
References:
http://developer.android.com/training/appbar/index.html

NEW QUESTION: 33
Which of the following is used to group messages in bundled notifications?
A. Subject
B. Topic
C. Tag
D. Title
Answer: (SHOW ANSWER)

NEW QUESTION: 34
Which file specifies the minimum required Android SDK version your application supports?
A. main.xml
B. R.java
C. strings.xml
D. AndroidManifest.xml
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 35
Which of the following is incorrect about the LogCat tool?
A. Only one of your applications can create log entries, and it should be component class
(Activity,Service,...etc)
B. Each log message has a tag
C. You can create a log in your application using Log.v(String, String)
D. LogCat UI tool is available inside Android Studio.
Answer: A (LEAVE A REPLY)

NEW QUESTION: 36
Which of the following is NOT correct about Battery Historian tool?
A. It is an open source script.
B. It converts the battery data collected by Batterystats into HTML visualization.
C. It collects and converts the battery data into HTML visualization.
D. It is not the part of Android framework
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/studio/profile/battery-historian.html

NEW QUESTION: 37
How to enable JavaScript in WebView?
A. myWebView. setJavaScriptEnabled(true);
B. myWebView.getJavaScriptSettings.setEnabled(true)
C. myWebView.getSettings().setJavaScriptEnabled(true);
D. Java script is always enabled in WebView
Answer: (SHOW ANSWER)
Explanation/Reference:
JavaScript is disabled in a WebView by default. You can enable it through the WebSettings
attached to your WebView. You can retrieve WebSettings with getSettings(), then enable
JavaScript with setJavaScriptEnabled().
For example:
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
References:
http://developer.android.com/guide/webapps/webview.html

NEW QUESTION: 38
What is a correct statement about an XML layout file?
A. A layout PNG image file
B. A file used to draw the content of an Activity
C. A file that contains all application permission information
D. A file that contains a single activity widget.
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 39
Which of the following is NOT correct about deep linking?
A. It enables Google to crawl your app content.
B. It allows users to enter your app from search results.
C. You have to add intent filters in activities tags in AndroidManifest.
D. You add intent filter in application tag in AndroidManifest.
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/training/app-indexing/deep-linking.html

NEW QUESTION: 40
Which of the following is a rule that developers must always follow when writing multi-
threaded Android applications? (Choose two)
A. A worker thread must not be created from inside the UI thread.
B. Each UI thread must not create more than one worker thread.
C. The UI thread must never be blocked.
D. The Android UI must not be accessed from outside the UI thread.
Answer: (SHOW ANSWER)
Explanation/Reference:
C: If everything is happening in the UI thread, performing long operations such as network
access or database queries will block the whole UI. When the thread is blocked, no events
can be dispatched, including drawing events. From the user's perspective, the application
appears to hang. Even worse, if the UI thread is blocked for more than a few seconds (about
5 seconds currently) the user is presented with the infamous "application not
responding" (ANR) dialog.
D: The Andoid UI toolkit is not thread-safe. So, you must not manipulate your UI from a
worker thread- you must do all manipulation to your user interface from the UI thread.
References:
http://developer.android.com/guide/components/processes-and-threads.html

NEW QUESTION: 41
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
B. Starts a service
C. Sends results to another activity.
D. Starts an activity using an implicit intent.
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 42
What does the src folder contain?
A. Image and icon files
B. XML resource files
C. The application manifest file
D. Java source code files
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 43
What are the main two types of threads in Android?
A. Activities and services.
B. Main thread and background process.
C. Main thread and UI thread.
D. Main thread and worker threads.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 44
Which of the following methods is used to close an activity?
A. Destroy( )
B. Finish( )
C. Stop( )
D. Close( )
Answer: (SHOW ANSWER)

NEW QUESTION: 45
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 a category for additional information.
B. A Bundle for extra data.
C. A category of additional information and data to operate on.
D. An action to be performed and data to operate on.
Answer: (SHOW ANSWER)

NEW QUESTION: 46
Which of the following is NOT the built-in layout manager provided by RecyclerView?
A. GridLayoutManager
B. LinearLayoutManager
C. StaggeredGridLayoutManager
D. RelativeLayoutManager
Answer: (SHOW ANSWER)

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 47
Which of the following is a valid sequence of invokes to Activity lifecycle methods? (Select
Two)
A. onCreate > onStart > onResume > onPause> onStop> onCreate
B. onCreate > onStart > onResume > onPause> onStop>onResume
C. onCreate > onStart > onResume > onPause> onStop>onDestroy
D. onCreate > onStart > onResume > onPause> onStop>onRestart
Answer: (SHOW ANSWER)

NEW QUESTION: 48
Which of the following is NOT true about the SharedPreferences interface?
A. Modifications to preferences saved should go through class SharedPreferences.Editor
B. The data it saves is persistent even if application is killed
C. It can save any data type in key-value pairs
D. It only saves primitive data in key-value pairs
Answer: C (LEAVE A REPLY)
NEW QUESTION: 49
Which of the following applies a context menu on a ListView (Choose two)?
A. ListView lv = getListView();
lv.registerForContextMenu()
B. ListView lv = getListView();
registerForContextMenu(lv);
C. ListView lv = (ListView) findViewByld(R.id.list_view_id);
registerForContextMenu(lv)
D. getListView().setContextMenuEnabled(true)
Answer: B,C (LEAVE A REPLY)
Explanation/Reference:
B: The first thing to do is to register your ListView as having a context menu, using the
registerForContextMenu() method. The following lines of code in your ListActivity's
onCreate() method accomplish this:
ListView lv = getListView();
registerForContextMenu(lv);
References:
http://htc-magic-android.gb-eu.com/131/accessing-listview-items-with-a-context-menu.html
http://developer.android.com/reference/android/view/ContextMenu.html

NEW QUESTION: 50
Consider the following code:
Intent i = new Intent(this, MainActivity.class);
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(i);
What best explains the code above?
A. The activity being launched is already running in the current task, then instead of
launching a new instance of that activity, all of the other activities on top of it will be closed
and this Intent will be delivered to the (now on top) old activity as a new Intent.
B. A new Activity will be launched and it will be on the top of the stack
C. A new activity will be launched but will be in full-screen mode.
D. Any existing task that would be associated with the activity to be cleared before the
activity is started.
Answer: A (LEAVE A REPLY)

NEW QUESTION: 51
Which UI does the following code builds?
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android=http://
schemas.android.com/apk/res/android
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Name:" />
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10" />
</LinearLayout>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Post" />
</LinearLayout>
A. An edit text to the left of a text view and a button beneath it
B. An edit text to the right of a text view and a button beneath them
C. A text view, an edit text beneath it and the button beneath the edit text
D. An edit text to the right of a text view and a button to the right of the text view
Answer: B (LEAVE A REPLY)

NEW QUESTION: 52
Which of the following is not true about <activity> tag in AndroidManifest file?
A. Declares an activity that implements part of the application's visual user interface
B. Contained in <application> tag.
C. Declares a single hardware or software feature that is used by the application.
D. Has an attribute that specifies the name of the Activity sub-class that implements the
activity.
Answer: C (LEAVE A REPLY)
Explanation/Reference:
Incorrect:
A: An activity is a single, focused thing that the user can do. Almost all activities interact with
the user, so the Activity class takes care of creating a window for you in which you can place
your UI with setContentView(View).
B, D: Example:
<application . . .>
<activity android:name="com.example.project.FreneticActivity"
android:permission="com.example.project.DEBIT_ACCT"
.. . >
.. .
</activity>
References:
http://developer.android.com/reference/android/app/Activity.html

NEW QUESTION: 53
Which of the following is the correct syntax for adding CardView to a layout file?
A. <android.support.v7.widget.CardView .../>
B. <android.support.v7.Widget.CardView .../>
C. <android.Support.v7.Widget.CardView .../>
D. <android.support.v7.widget.cardview .../>
Answer: A (LEAVE A REPLY)

NEW QUESTION: 54
Which of the following Activity life-cycle methods is invoked when another activity is shown?
A. onPause()
B. onCreate()
C. onStop()
D. onDestroy()
Answer: (SHOW ANSWER)
Explanation/Reference:
If an activity is completely obscured by another activity, it is stopped. It still retains all state
and member information, however, it is no longer visible to the user so its window is hidden
and it will often be killed by the system when memory is needed elsewhere.
References:
http://developer.android.com/reference/android/app/Activity.html

NEW QUESTION: 55
To add a new Activity to your application, you need to perform the following steps:
A. Create a Java class that extends View, set a layout, and add an Activity tag in
AndroidManifest.xml
B. Create layout resource only.
C. Create a Java class that extends Activity, add an Activity tag in AndroidManifest.xml, and
create a layout for the activity.
D. Add an Activity tag to AndroidManifest.xml, and add ACTIVITY permission.
Answer: C (LEAVE A REPLY)
Explanation/Reference:
References:
http://www.itcsolutions.eu/2011/08/31/android-tutorial-how-to-create-a-new-activity-class-
with-manifest- editor/

NEW QUESTION: 56
Which of the following Gradle statements adds the AppCompat library to an Android
application?
A. defaultConfig { library "com.android.support:appcompat-v7:21.0.+" }
B. apply plugin: 'com.android.support:appcompat-v7:21.0.+'
C. dependencies {
compile "com.android.support:appcompat-v7:21.0.+"
}
D. compile {
library "com.android.support:appcompat-v7:21.0.+"
}
Answer: (SHOW ANSWER)

NEW QUESTION: 57
Which of the following is NOT true about onMeasure() method of class View?
A. It measures the view and its contents to determine the measured width and height.
B. It is invoked by measure().
C. When overriding this method, a developer must call setMeasuredDimension().
D. It takes three parameters: the height, width, and the depth of the view.
Answer: D (LEAVE A REPLY)
Explanation/Reference:
Syntax: protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)
onMeasure() measures the view and its content to determine the measured width and the
measured height. This method is invoked by measure(int, int) and should be overridden by
subclasses to provide accurate and efficient measurement of their contents.
References:
http://developer.android.com/reference/android/view/View.html#onMeasure(int, int)

NEW QUESTION: 58
Which of the following is not a ContentProvider provided natively by Android?
A. The contacts list
B. The telephone log
C. The bookmarks
D. The application list
Answer: D (LEAVE A REPLY)
Explanation/Reference:
Incorrect:
A: You usually need the MIME type when you are working with a provider that contains
complex data structures or files. For example, the ContactsContract.Data table in the
Contacts Provider uses MIME types to label the type of contact data stored in each row.
C: The Browser's Bookmark and History content provider URI is in:
android.provider.Browser.BOOKMARKS_URI
References:
http://developer.android.com/guide/topics/providers/content-provider-basics.html
http://jcla1.com/blog/using-content-providers-in-android/

NEW QUESTION: 59
You can create a custom view by extending class:
A. android.widget.View
B. android.widget.LinearLayout
C. android.view.View
D. android.content.Context
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
http://developer.android.com/reference/android/view/View.html

NEW QUESTION: 60
Which of these is the incorrect method for an Application to save local data?
A. Extend PreferencesActivity and save in an XML file.
B. Save as a file in the local file system.
C. Save in the database using SQLite.
D. Save in the hash table file using the Dictionary class.
Answer: D (LEAVE A REPLY)
Explanation/Reference:
Incorrect:
B: You can save files directly on the device's internal storage.
C: Android provides full support for SQLite databases. Any databases you create will be
accessible by name to any class in the application, but not outside the application.
Reference:
http://developer.android.com/guide/topics/data/data-storage.html

NEW QUESTION: 61
Which of the following is true about method startActivity?
A. It starts a new activity in a paused mode.
B. It starts a new activity and destroys the previous one.
C. It starts a new activity and resumes the previous one.
D. It starts a new activity and sends it to the foreground.
Answer: D (LEAVE A REPLY)

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 62
Which of the following statements is incorrect about Android Device Monitor in Android
Studio?
A. You can do simulations of network zone speed and bandwidth limitations.
B. It can add dynamically Google SDK libraries to the Android image running on the
emulator.
C. You can forcibly execute garbage collection and check the present heap usage status.
D. You can display a list of currently running threads and select one to check its stack trace.
Answer: B (LEAVE A REPLY)

NEW QUESTION: 63
Which of these is the correct function of Traceview?
A. Displays a graphical task execution log.
B. Displays graphically a memory acquisition and release log
C. Displays graphically the call stack.
D. Displays graphically the Ul state hierarchy.
Answer: A (LEAVE A REPLY)
Explanation/Reference:
Traceview is a graphical viewer for execution logs saved by your application. Traceview can
help you debug your application and profile its performance.
References:
http://developer.android.com/tools/help/traceview.html

NEW QUESTION: 64
Consider the following AndroidManifest.xml file.
< ?xml version="1.0" encoding="utf-8"?>
< manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidatc "
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="12"
android:targetSdkVersion="17" />
< application
android:name="MyApp "
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
< activity
android:name="com.androidatc.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait" >
< intent-filter>
< action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
< /activity>
< uses-permission android:name="android.permission.INTERNET" />
< /application>
< /manifest>
Which of the following is correct?
A. The application will run as intended.
B. The application will not compile.
C. The app will run in Landscape orientation.
D. The application will crash on fetching data from the internet.
Answer: (SHOW ANSWER)

NEW QUESTION: 65
Which of the following are the possible values of app:fabSize attribute of
FloatingActionButton?
A. small, medium, large
B. small, normal
C. mini, normal, default
D. auto, mini, normal
Answer: D (LEAVE A REPLY)
NEW QUESTION: 66
What is the name of the folder that contains the R.java file?
A. src
B. res
C. bin
D. gen
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 67
Which of the following are constants for Location providers?
A. LocationManager.GPS_PROVIDER and LocationManager.GCM_PROVIDER.
B. LocationManager.GPS_PROVIDER and LocationManager.NETWORK_PROVIDER.
C. LocationManager.GMS_PROVIDER and LocationManager.GPS_PROVIDER.
D. LocationManager.GPS_PROVIDER and LocationManager.GMS_PROVIDER.
Answer: (SHOW ANSWER)

NEW QUESTION: 68
Which of the following would you consider to be a major disadvantage while performing
transitions on pre- lollipop release?
A. All answers are incorrect.
B. They could only animate the entire Activity/Fragment container as a whole.
C. It was not natively supported by Android and needed 3rd party libraries to be performed.
D. There were only limited number of animations available to developers.
Answer: C (LEAVE A REPLY)

NEW QUESTION: 69
Which one of the following is not a valid name for process state?
A. Bound
B. Visible
C. Foreground
D. Background
Answer: (SHOW ANSWER)
Explanation/Reference:
Android process states are:
1.Foreground process
A process that is required for what the user is currently doing.
2.Visible process
A process that doesn't have any foreground components, but still can affect what the user
sees on screen.
3.Service process
4.Background process
A process holding an activity that's not currently visible to the user (the activity's onStop()
method has been called).
5.Empty process
A process that doesn't hold any active application components.
References:
http://developer.android.com/guide/components/processes-and-threads.html

NEW QUESTION: 70
Which of the following methods invoke a Snackbar?
A. Show( );
B. Create( );
C. View( );
D. Make( );
Answer: A (LEAVE A REPLY)

NEW QUESTION: 71
Which of the following is NOT true about SQLiteOpenHelper class? (Choose two)
A. It has two abstract methods: onCreate() and onUpgrade().
B. It is used to perform database querying.
C. It manages database creation and updates.
D. It manages database versions using ContentProvider.
Answer: (SHOW ANSWER)
Explanation/Reference:
Incorrect:
A: onCreate() and onUpgrade() are the only two abstract methods of this class.
D: SQLiteOpenHelper handles database creation and version management.
This class makes it easy for ContentProvider implementations to defer opening and
upgrading the database until first use, to avoid blocking application startup with long-running
database upgrades.
References:
http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html

NEW QUESTION: 72
Which of the following methods are invoked when a Broadcast Receiver receives a
message?
A. onArrival( )
B. onReceive( )
C. onBind( )
D. onMessage( )
Answer: B (LEAVE A REPLY)

NEW QUESTION: 73
Which of the following WebView methods allows you to manually load HTML from String
variable?
A. loadData
B. loadCustomData
C. loadCustomHTML
D. loadHTML
Answer: (SHOW ANSWER)

NEW QUESTION: 74
During an Activity life-cycle, what is the first callback method invoked by the system?
A. onStop()
B. onStart()
C. onCreate()
D. onRestore()
Answer: C (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 75
Which of these is NOT recommended in the Android Developer's Guide as a method of
creating an individual View?
A. Create by extending the android.view.View class.
B. Create by extending already existing View classes such as Button or TextView.
C. Create by copying the source of an already existing View class such as Button or
TextView
D. Create by combining multiple Views.
Answer: (SHOW ANSWER)
Explanation/Reference:
Incorrect:
A, B: All of the view classes defined in the Android framework extend View. Your custom
view can also extend View directly, or you can save time by extending one of the existing
view subclasses, such as Button.
D: When building complex applications, you'll often want to reuse the same group of views
in various places of the application. One way to solve this problem is by creating a view that
encapsulates the logic and layout of a group of views so you can reuse them without
duplicating code in various places of the project.
References:
http://developer.android.com/training/custom-views/create-view.html
http://code.tutsplus.com/tutorials/creating-compound-views-on-android--cms-22889

NEW QUESTION: 76
Which of the following is incorrect about ProgressDialog?
A. ProgressDialog inherits from the AlertDialog class.
B. ProgressDialog can be set as 2 types of style: STYLE_HORIZONTAL and
STYLE_SPINNER.
C. ProgressDialog is able to apply a custom XML-defined layout by using the
setContentView(...) method.
D. ProgressDialog can be freely configured to use a Drawable class to display as its
progress bar.
Answer: (SHOW ANSWER)
Explanation/Reference:
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.
References:
http://developer.android.com/reference/android/app/ProgressDialog.html

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 77
A developer can create a custom view by extending class Activity.
A. True
B. False
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
NEW QUESTION: 78
Which of the following is correct about application file access in the Android system?
A. The content of a file created by an application cannot be accessed by any other
application.
B. Files created by an application can be directly accessed by any application.
C. You can only access a file from within an Activity.
D. Generally, files are handled as dedicated resources per each application.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 79
What code would you need to use for a reverse transition when going from the second
activity, back to the first?
A. finishTransition( )
B. finish(true)
C. finish( )
D. All answers are incorrect
Answer: D (LEAVE A REPLY)

NEW QUESTION: 80
Javascript is enabled by default in a WebView
A. True
B. False
Answer: (SHOW ANSWER)
Explanation/Reference:
If the web page you plan to load in your WebView use JavaScript, you must enable
JavaScript for your WebView.
References:
http://developer.android.com/guide/webapps/webview.html

NEW QUESTION: 81
Which of the following statements hold true about persisting data types using ORMLite third
party library?
A. All persisted classes must define a one-argument constructor, which takes the name of
the table as its argument. The constructor is required to have private level visibility.
B. All answers are incorrect.
C. All persisted classes must define a one-argument constructor, which takes the name of
the table as its argument. The constructor is required to have public level visibility.
D. All persisted classes must define a no-argument constructor which must have at least
package level visibility.
Answer: D (LEAVE A REPLY)
NEW QUESTION: 82
What is the default background color of FloatingActionButton?
A. Application theme's colorPrimary .
B. Application theme's colorAccent .
C. Application theme's colorPrimaryAccent .
D. Application theme's colorPrimaryDark .
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
https://developer.android.com/training/material/design-library.html

NEW QUESTION: 83
Which of the following features CANNOT be controlled through CardView's properties?
A. Corner
B. Depth
C. Elevation
D. Shadow
Answer: B (LEAVE A REPLY)

NEW QUESTION: 84
When using an implicit intent, what process does the system use to know what to do with it?
A. Intent resolution
B. Intent declaration
C. Intent overloading
D. Intent transition
Answer: (SHOW ANSWER)
Explanation/Reference:
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.
References:
http://developer.android.com/reference/android/content/Intent.html

NEW QUESTION: 85
Which of the following is NOT true about onMeasure( ) method of class View?
A. It takes three parameters: the height, width, and the depth of the view.
B. The When overriding this method, a developer must call setMeasuredDimension( ).
C. It is invoked by measure( ).
D. It measures the view and its contents to determine the measured width and height.
Answer: A (LEAVE A REPLY)

NEW QUESTION: 86
Which of the following tools dumps system log messages including stack traces when the
device or emulator throws an error?
A. DDMS
B. Logcat
C. Console
D. ADB
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 87
Which of the following tags is not added in <intent-filter> for enabling deep linking in your
application?
A. <data>
B. <category>
C. <url>
D. <action>
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/training/app-indexing/deep-linking.html

NEW QUESTION: 88
AppCompayActivity is the base class for activities that use action bar features of the support
library?
A. True
B. False
Answer: A (LEAVE A REPLY)
Explanation/Reference:
AppCompayActivity is the base class for activities that use the support library action bar
features.
References:
http://developer.android.com/reference/android/support/v7/app/AppCompatActivity.html

NEW QUESTION: 89
What is the minimum Android SDK version required for using "Instant Run" feature of
Android Studio?
A. 15
B. 21
C. 23
D. 19
Answer: (SHOW ANSWER)

NEW QUESTION: 90
Which of the following is NOT true about method getWindow() of class Dialog?
A. It retrieves the current window for the activity.
B. It can be used to access parts of the Window API.
C. It displays the dialog on the screen.
D. It returns null if the activity is not visible.
Answer: (SHOW ANSWER)
Explanation/Reference:
Incorrect:
A: getWindow() retrieves the current window for the activity.
B: getWindow() can be used to directly access parts of the Window API that are not
available through Activity/Screen.
D: getWindow() returns the current window, or null if the activity is not visual.
References:
http://developer.android.com/reference/android/app/Dialog.html#getWindow()

NEW QUESTION: 91
Which of the following is not a valid Android resource file name?
A. mylayout.xml
B. myLayout.xml
C. my_layout.xml
D. mylayout1.xml
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 92
Which of these is not defined as a process state?
A. Non-visible
B. Visible
C. Foreground
D. Background
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 93
Which of the following statements about DDMS is incorrect?
A. You can display a list of currently running threads and select one to check its stack trace.
B. You can use it to acquire screenshots of a terminal.
C. You can forcibly execute garbage collection and check the present heap usage status.
D. You can do simulations of network zone speed and bandwidth limitations.
Answer: B (LEAVE A REPLY)
Explanation/Reference:
Note: Android Studio includes a debugging tool called the Dalvik Debug Monitor Server
(DDMS), which provides port-forwarding services, screen capture on the device, thread and
heap information on the device, logcat, process, and radio state information, incoming call
and SMS spoofing, location data spoofing, and more.
Incorrect:
A: LogCat is integrated into DDMS, and outputs the messages that you print out using the
Log class along with other system messages such as stack traces when exceptions are
thrown.
C: DDMS allows you to view how much heap memory a process is using. This information is
useful in tracking heap usage at a certain point of time during the execution of your
application.
To view heap usage for a process:
1. In the Devices tab, select the process that you want to see the heap information for.
2. Click the Update Heap button to enable heap information for the process.
3. In the Heap tab, click Cause GC to invoke garbage collection, which enables the
collection of heap data. When the operation completes, you will see a group of object types
and the memory that has been allocated for each type. You can click Cause GC again to
refresh the data.
D: The Telephony Status section of the Emulator controls tab lets you change different
aspects of the phone's networks status, speed and latency. The following options are
available to you and are effective immediately after you set them:
Voice - unregistered, home, roaming, searching, denied
Data - unregistered, home, roaming, searching, denied
Speed - Full, GSM, HSCSD, GPRS, EDGE, UMTS, HSDPA
Latency - GPRS, EDGE, UMTS
References:
http://developer.android.com/tools/debugging/ddms.html

NEW QUESTION: 94
When including a text file in your application to read from as a resource, what is the
recommended location of such file?
A. res/anim
B. res/files
C. res/raw
D. res/values
Answer: C (LEAVE A REPLY)
Explanation/Reference:
You should place each type of resource in a specific subdirectory of your project's res/
directory.
The raw/ subfolder should contain arbitrary files to save in their raw form.
References:
http://developer.android.com/guide/topics/resources/providing-resources.html

NEW QUESTION: 95
The values of which of the following classes cannot be mapped in a Bundle object?
A. Parcelable objects
B. Primitive data types
C. Serializable objects
D. Context
Answer: D (LEAVE A REPLY)
Explanation/Reference:
A Bundle is a mapping from String values to various Parcelable types.
The Bundle(ClassLoader loader) constructor constructs a new, empty Bundle that uses a
specific ClassLoader for instantiating Parcelable and Serializable objects.
Incorrect:
A: Whenever you see a Bundle, you're dealing with a Parcel under the hood.
References:
http://developer.android.com/reference/android/os/Bundle.html
NEW QUESTION: 96
What package is FloatingActionButton part of?
A. Introduced with the Android Lollipop release, it is available in apps that have minSDK
version of 21.
B. It is part of the Material design library (android.material.design.widgets).
C. It is released as part of the Design support library (com.android.support:design).
D. All answers are incorrect.
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/training/material/design-library.html

NEW QUESTION: 97
android:scheme is added in which of the following tags?
A. <data>
B. <url>
C. <category>
D. <action>
Answer: A (LEAVE A REPLY)

NEW QUESTION: 98
Which of the following does not have a ContenProvider component provided natively by
Android SDK?
A. The contacts list
B. The telephone log
C. The bookmarks
D. The application list
Answer: (SHOW ANSWER)
Explanation/Reference:
Incorrect:
A: You usually need the MIME type when you are working with a provider that contains
complex data structures or files. For example, the ContactsContract.Data table in the
Contacts Provider uses MIME types to label the type of contact data stored in each row.
C: The Browser's Bookmark and History content provider URI is in:
android.provider.Browser.BOOKMARKS_URI
References:
http://developer.android.com/guide/topics/providers/content-provider-basics.html
http://jcla1.com/blog/using-content-providers-in-android/

NEW QUESTION: 99
What does the Android project folder "res/" contain?
A. Java Activity classes
B. Resource files
C. Java source code
D. Libraries
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 100


Which of the following is NOT true about a content provider?
A. It manages access to structured data.
B. It cannot be used from inside an Activity.
C. It facilitates access to Android's SQLite databases.
D. To access data in it, method getContentResolver() of the application's Context is used.
Answer: (SHOW ANSWER)
Explanation/Reference:
You can access data in a content provider, even if you don't have the proper access
permissions, by sending an intent to an application that does have the permissions and
receiving back a result intent containing "URI" permissions. These are permissions for a
specific content URI that last until the activity that receives them is finished.
Incorrect:
A: A content provider manages access to a central repository of data.
References:
http://developer.android.com/guide/topics/providers/content-provider-basics.html

NEW QUESTION: 101


Consider the following AndroidManifest.xml file:
< ?xml version="1.0" encoding="utf-8"?>
< manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidatc.test"
android:versionCode="1"
android:versionName="1.0" >
< uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
< application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar" >
< activity
android:screenOrientation="portrait"
android:label="@string/app_name" >
<intent-filter>
< action android:name="android.intent.action.MAIN" />
< category android:name="android.intent.category.LAUNCHER" />
< /intent-filter>
< /activity>
< /application>
< uses-permission android:name="android.permission.INTERNET">
< /uses-permission>
< activity android:name=".Compute" android:screenOrientation="portrait" />
< /manifest>
What is the syntax error of this file?
A. The activity under <application> tag should have the android:name property.
B. The INTERNET permission must be removed.
C. The <activity> tag for Activity ".Compute" should be contained inside <application> tag.
D. Tag uses-sdk must have attribute android:maxSdkVersion set.
Answer: C (LEAVE A REPLY)

NEW QUESTION: 102


Which of these is the incorrect explanation of the Android SDK and AVD Manager?
A. The development tools that can be downloaded from Android SDK and AVD Manager are
SDK Android platform, NDK-platform, emulator images, and USB drivers for handsets.
B. The "android" command can be used if "<SDK install folder>/tools" is added to the
command path.
C. You can create and startup AVD, and on startup you can delete user data up to that
point.
D. They are provided from version 1.6 of the SDK. Up to Version 1.5, there was an AVD
Manager but it lacked SDK management functions.
Answer: A (LEAVE A REPLY)

NEW QUESTION: 103


What Activity method you would use to retrieve a reference to an Android view by using the
id attribute of a resource XML?
A. findViewById(String id)
B. findViewById(int id)
C. findViewByReference(int id)
D. retrieveResourceById(int id)
Answer: B (LEAVE A REPLY)

NEW QUESTION: 104


Which package of the following does not have classes needed for Android network
connections?
A. java.net
B. org.apache.http
C. android.location
D. android.net
Answer: C (LEAVE A REPLY)
Explanation/Reference:
The android.location package contains the framework API classes that define Android
location-based (GPS) and related services.
References:
http://developer.android.com/reference/android/location/package-summary.html

NEW QUESTION: 105


Which configuration file holds the permission to use the internet?
A. Layout file
B. Property file
C. Java source file
D. Manifest file
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 106


What Eclipse plugin is required to develop Android application?
A. J2EE
B. Android Software Development Kit
C. Android Development Tools
D. Web Development Tools
Answer: C (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 107


Which of the following add a click listener to items in a listView?
A. onClickListener.
B. onItemClickListener.
C. onItemClicked.
D. onListItemClickListener.
Answer: (SHOW ANSWER)
Explanation/Reference:
AdapterView.OnItemClickListener is an interface definition for a callback to be invoked when
an item in this AdapterView has been clicked.
References:
http://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener.html

NEW QUESTION: 108


Which of the following lines of code starts activity Activity2 from a current activity Activity1?
A. Intent intent = new Intent(new Activity2());
startActivity(intent);
B. Intent intent = new Intent(this,new Activity2());
startActivity(intent);
C. Intent intent = new Intent(this,Activity2.class);
startActivity(intent);
D. Intent intent = new Intent (Activity1.class,Activity2.class);
startActivity(intent);
Answer: C (LEAVE A REPLY)

NEW QUESTION: 109


What is the location of APK generated by the build system of Android Studio?
A. app/build/apk
B. app/apks
C. app/build/outputs/apk
D. app/intermediates/outputs/apk
Answer: (SHOW ANSWER)
Explanation/Reference:
If you are using Gradle, then it would be in the build/apk folder.
References:
http://stackoverflow.com/questions/16620366/apk-location-in-new-android-studio

NEW QUESTION: 110


Which of the following is NOT true about the MenuItem interface?
A. The MenuItem instance will be returned by the Menu class add(...) method.
B. MenuItem can decide the Intent issued when clicking menu components.
C. MenuItem can display either an icon or text.
D. MenuItem can set a checkbox.
Answer: (SHOW ANSWER)
Explanation/Reference:
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- item-selected 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.
References:
http://developer.android.com/guide/topics/ui/menus.html

NEW QUESTION: 111


Which of the following is NOT a feature of Android Studio?
A. It provides a rich layout editor.
B. It offers multiple APK file generation.
C. It contains a flexible Gradle-based build system.
D. It contains an Eclipse ADT plugin as a build system.
Answer: (SHOW ANSWER)
NEW QUESTION: 112
Which of these files contains text values that you can use in your application?
A. AndroidManifest.xml
B. res/Text.xml
C. res/layout/Main.xml
D. res/values/strings.xml
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 113


Which of the following is correct about file access in the Android system?
A. Generally, files are handled as dedicated resources per each application.
B. Files created by an application can be directly accessed by any application.
C. The content of file created by application cannot be accessed by any other application.
D. You can only access a file from within an Activity.
Answer: A (LEAVE A REPLY)

NEW QUESTION: 114


To create a blank Wear activity in Android Studio, the project should have a minimum SDK
version >= 20.
A. False
B. True
Answer: B (LEAVE A REPLY)

NEW QUESTION: 115


In order to perform a shared element transition, we need to :
A. Specify the same android:sharedTransition attribute to the 2 views (shared views) in both
the entry/exit pair of activities. Both the shared views should be of the different View types.
B. Specify the same android:id attribute to the 2 views (shared views) in both the entry/exit
pair of activities. Both the shared views should be of the same View types.
C. Specify the same android:id attribute to the 2 views (shared views) in both the entry/exit
pair of activities. Both the shared views can be of different View types.
D. Specify the same android:transitionName attribute to the 2 views (shared views) in both
the entry/exit pair of activities. Both the shared views should be of the same View types.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 116


When the user clicks on an action item in the action bar, which of the following Activity
methods does the system call?
A. onOptionsItemClicked( )
B. onActionButtonSelected( )
C. onOptionsItemSelected( )
D. onActionBarItemSelected( )
Answer: (SHOW ANSWER)

NEW QUESTION: 117


Using Android Studio, you can build applications for Android Wear, Android TV, and Android
Auto, as well as Android phones applications.
A. False
B. True
Answer: (SHOW ANSWER)

NEW QUESTION: 118


Which of the following options are true for ConstraintLayout?
A. It is available in API level 21 and above.
B. It is available in API level 24 and above.
C. It is available in API level 9 and above.
D. All answers are incorrect.
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/training/constraint-layout/index.html

NEW QUESTION: 119


What two methods you have to override when implementing Android context menus?
A. onCreateOptionsMenu, onCreateContextMenu
B. onCreateContextMenu, onContextItemSelected
C. onCreateOptionsMenu, onOptionsItemSelected
D. onCreateOptionsMenu, onContextItemSelected
Answer: B (LEAVE A REPLY)
Explanation/Reference:
need to create context menu. For this need to override this method:
@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo)
{ super.onCreateContextMenu(menu, v, menuInfo);
menu.setHeaderTitle("My Context Menu");
menu.add(0, NEW_MENU_ITEM, 0, "new");
menu.add(0, SAVE_MENU_ITEM, 1, "save");
}
And last one need to handle menu clicks:
@Override
public boolean onContextItemSelected(MenuItem item) {
switch (item.getItemId()) {
case NEW_MENU_ITEM:
doSomething();
break;
case SAVE_MENU_ITEM:
doSomething();
break;
}
return super.onContextItemSelected(item);
}
References:
https://thedevelopersinfo.wordpress.com/2009/11/06/using-context-menus-in-android/

NEW QUESTION: 120


What does the following line of code achieve?
Intent intent = new Intent(FirstActivity.this, SecondActivity.class );
A. Creates a hidden Intent
B. Creates an implicit Intent
C. Create an explicit Intent
D. Create an explicit Intent
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 121


Which of the following is not included in the Android application framework?
A. WindowManager
B. NotificationManager
C. DialerManager
D. PackageManager
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/guide/platform/index.html
Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401
Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 122


Which of the following best defines an Android fragment?
A. It is a portion of the user-interface that is embedded in an activity.
B. It is the component that allows asynchronous loading of data into an activity.
C. It is an XML file that defines the layout of an activity.
D. It is a type of a drawable resource file.
Answer: (SHOW ANSWER)
Explanation/Reference:
A Fragment is a piece of an activity which enable more modular activity design.
References:
http://www.tutorialspoint.com/android/android_fragments.htm

NEW QUESTION: 123


The DalvikVM core libraries are a subset of which of the following?
A. Java ME
B. Java SE
C. Java EE
D. JAX-WS
Answer: B (LEAVE A REPLY)
Explanation/Reference:
Dalvik is a discontinued process virtual machine (VM) in Google's Android operating system
that executes applications written for Android. Dalvik is compiled with JAVA SE.
References:
https://en.wikipedia.org/wiki/Dalvik_(software)

NEW QUESTION: 124


Capturing GPS coordinates require creating a project on Google console and enable GPS
Capturing.
A. True
B. False
Answer: (SHOW ANSWER)

NEW QUESTION: 125


Which of the following are NOT types of Runtime permission? (Choose two)
A. Normal Permissions.
B. Negative Permissions.
C. Dangerous Permissions.
D. Essential Permissions.
Answer: B,D (LEAVE A REPLY)
Explanation/Reference:
References:
https://developer.android.com/training/permissions/requesting.html

NEW QUESTION: 126


Which of the following attributes of the activity tag in the manifest file is used to set an
activity screen to landscape orientation?
A. screenorientation = landscape
B. screenOrientation="landscape"
C. android:ScreenOrientation="landscape"
D. android:screenOrientation="landscape"
Answer: (SHOW ANSWER)
Explanation/Reference:
Adding this to your manifest should force your app to landscape:
<!-- Force Landscape-->
<activity
android:name=".ActivtyName"
android:screenOrientation="landscape">
</activity>
References:
http://answers.unity3d.com/questions/534216/how-force-the-app-to-landscape-in-android-
with-a-m.html

NEW QUESTION: 127


Which of the following Activity life-cycle methods is invoked when a dialog is shown?
A. onPause()
B. onCreate()
C. onStop()
D. onDestroy()
Answer: (SHOW ANSWER)
Explanation/Reference:
onPause() is where you deal with the user leaving your activity.
References:
http://developer.android.com/reference/android/app/Activity.html
NEW QUESTION: 128
What is not true about the AndroidManifest.xml file?
A. It declares the views used within the application
B. It declares user permissions the application requires
C. It declares application components
D. It declares hardware and software features used within the application
Answer: A (LEAVE A REPLY)
Explanation/Reference:
Among other things, the manifest does the following:
It declares which permissions the application must have in order to access protected parts
of the API and interact with other applications.
It also declares the permissions that others are required to have in order to interact with the
application's components.
It describes the components of the application - the activities, services, broadcast receivers,
and content providers that the application is composed of.
It declares the minimum level of the Android API that the application requires.
References:
http://developer.android.com/guide/topics/manifest/manifest-intro.html

NEW QUESTION: 129


Which of the following sets the entire Activity window as a WebView?
A. setContentView("http://www.androidatc.com");
B. WebView webview = new WebView(this);
webview.setAsWindow;
C. setContentView(R.layout.webview);
D. WebView webview = new WebView(this);
setContentView(webview);
Answer: (SHOW ANSWER)

NEW QUESTION: 130


Which of the following statements are correct about the Action Bar? (Choose two.)
A. It is a collection of Android libraries that can be included in your application for backward-
compatibility.
B. It is a window feature that provides user actions and navigation modes.
C. It offers users a consistent interface across applications that the system dynamically
adapts.
D. It allows applications to receives push notifications.
Answer: (SHOW ANSWER)

NEW QUESTION: 131


Which of the following is a call-back method that inflates an options menu from file
res/menu/menu.xml?
A. onOptionsItemSelected
B. onCreate
C. onCreateMenu
D. onCreateOptionsMenu
Answer: D (LEAVE A REPLY)
Explanation/Reference:
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments
provide their own onCreateOptionsMenu() callback). In this method, you can inflate your
menu resource (defined in XML) into the Menu provided in the callback. For example:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.game_menu, menu);
return true;
}
References:
http://developer.android.com/guide/topics/ui/menus.html

NEW QUESTION: 132


What does the following line of code do?
Toast toast = Toast.makeText(this,"Android ATC", Toast.LENGTH_LONG);
toast.setGravity(Gravity.TOP|Gravity.RIGHT, 0, 0);
toast.show( );
A. The toast will have it UI components place on the top-right corner.
B. The toast will appear on the top-right corner.
C. The toast will show the text message on top-right corner of the toast box.
D. The toast will appear at the center of the screen at position (0,0), but aligned to the top-
right corner.
Answer: B (LEAVE A REPLY)
Explanation/Reference:
References:
http://tutorials.jenkov.com/android/toast.html

NEW QUESTION: 133


On which of the following thread does a Service run?
A. Intent Thread
B. Main Thread
C. Background Thread
D. System Thread
Answer: B (LEAVE A REPLY)

NEW QUESTION: 134


What method you should override to use Android menu system?
A. onCreateOptionsMenu()
B. onCreateMenu()
C. onMenuCreated()
D. onCreateContextMenu()
Answer: (SHOW ANSWER)
Explanation/Reference:
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments
provide their own onCreateOptionsMenu() callback).
References:
http://developer.android.com/guide/topics/ui/menus.html

NEW QUESTION: 135


Which of the following is correct dependency for adding CardView?
A. dependencies {compile 'com.android.support.cardview-v7:24.2.1' }
B. dependencies {compile 'com.android.support:cardview-v7:24.2.1' }
C. dependencies {compile 'com.android.support:CardView-v7:24.2.1' }
D. dependencies {compile 'com.android.support:cardView-v7:24.2.1' }
Answer: (SHOW ANSWER)

NEW QUESTION: 136


An AsyncTask can be cancelled anytime from any thread.
A. True
B. False
Answer: A (LEAVE A REPLY)
Explanation/Reference:
A task can be cancelled at any time by invoking cancel(boolean).
References:
http://developer.android.com/reference/android/os/AsyncTask.html

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 137


Which of the following lines of code is used to pass a value to the next activity?
A. Intent i = new Intent(this,newActivity);
i.putValue("value1","test");
startActivity(i);
B. Intent i = new Intent(this,newActivity);
i.putExtra("value1","test");
startActivity(i);
C. Intent i = new Intent(this,newActivity);
i.putValue("test");
startActivity(i);
D. Intent i = new Intent(this,newActivity);
i.addExtra("test");
startActivity(i);
Answer: B (LEAVE A REPLY)

NEW QUESTION: 138


Which of the following statements is NOT correct about Android fragments?
A. Multiple fragments can be combined in a single activity.
B. The life-cycle of a fragment is totally independent of the activity hosting it.
C. Fragments have their own life-cycle.
D. You can add/remove fragments to and an activity dynamically, i.e. while the activity is
running.
Answer: B (LEAVE A REPLY)
Explanation/Reference:
Fragment life cycle is closely related to the life cycle of its host activity which means when
the activity is paused; all the fragments available in the activity will also be stopped.
Incorrect:
D: You can add or remove fragments in an activity while the activity is running.
References:
http://www.tutorialspoint.com/android/android_fragments.htm

NEW QUESTION: 139


Which of the following is a valid attribute of ConstraintLayout?
A. layout_constraintLeft_toRightOf
B. layout_constraintEdge_toEdgeOf
C. All answers are correct
D. layout_constraintMiddle_toMiddleOf
Answer: A (LEAVE A REPLY)

NEW QUESTION: 140


Suppose that the <application> tag in the AndroidManifest.XML file of your application has
attribute android.theme="@style/AppTheme". Which of the following contents of
file /res/value/style.xml correctly applies to the Light Material Theme to your application?
A. <resources>
</style name="AppLightTheme" parent="android: Theme.Material">
</style>
</resources>
B. <resources>
</style name="MyAppTheme" parent="android: Theme.Material.Light">
</style>
</resources>
C. <resources>
</style name="AppTheme" parent="android: Theme.Material">
</style>
</resources>
D. <resources>
</style name="AppLightTheme" parent="android: Theme.Material.Light">
</style>
</resources>
Answer: B (LEAVE A REPLY)
Explanation/Reference:
The material theme is defined as:
@android:style/Theme.Material (dark version)
@android:style/Theme.Material.Light (light version)
@android:style/Theme.Material.Light.DarkActionBar
Example: Add a resources node to styles.xml and define a style node with the name of your
custom theme.
For example, here is a styles.xml file that defines MyCustomTheme (derived from the built-in
Theme.Material.Light theme style):
<?xml version="1.0" encoding="UTF-8" ?>
<resources>
<!-- Inherit from the light Material Theme -->
<style name="MyCustomTheme" parent="android:Theme.Material.Light">
<!-- Customizations go here -->
</style>
</resources>
References:
https://developer.xamarin.com/guides/android/user_interface/material_theme/
NEW QUESTION: 141
Which of the following is not an Activity lifecycle call-back method?
A. onStart
B. onCreate
C. onPause
D. onBackPressed
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 142


Which of the following is NOT correct about the Gradle build system of Android Studio?
A. The Gradle build file is called build.gradle.
B. Gradle supports generating only one build variant.
C. Gradle uses the Groovy syntax to configure the build.
D. A build is configured by using elements provided by the Android plugin for Gradle.
Answer: (SHOW ANSWER)
Explanation/Reference:
The build system can generate multiple APKs with different product and build configurations
for the same module.
References:
http://developer.android.com/tools/building/plugin-for-gradle.html

NEW QUESTION: 143


Which of the following is not an Android component (i.e. a point from which the system can
enter your application)?
A. Service
B. Activity
C. Layout
D. Content Provider
Answer: C (LEAVE A REPLY)
Explanation/Reference:
Here are the four types of app components: Activities, Services, Content providers, and
Broadcast receivers.
References:
http://developer.android.com/guide/components/fundamentals.html

NEW QUESTION: 144


Which attribute would you use to animate the FloatingActionButton, moving it "into" the
screen when user clicks it?
A. app:pressedTranslation
B. app:ZClickTranslation
C. app:pressedTranslationZ
D. app:ZTranslation
Answer: C (LEAVE A REPLY)

NEW QUESTION: 145


Which of the following permission is necessary for capturing geo-coordinates?
A. android.permission.ACCESS_FINE_LOCATION
B. android.permission.ACCESS_LOCATION
C. android.permission.ACCESS_LOCATION_FINE
D. All answers are incorrect
Answer: A (LEAVE A REPLY)

NEW QUESTION: 146


What work is suitable for Android Services?
A. Streaming.
B. Networking Operations.
C. Updating Widgets.
D. All answers are correct.
Answer: (SHOW ANSWER)

NEW QUESTION: 147


Which of the following make RecyclerView a better option to use for larger data sets?
A. Layout Managers for positioning items.
B. Default animations for adding and removing list items.
C. Reuse the item views when they are no longer visible.
D. All answers are correct
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
https://guides.codepath.com/android/using-the-recyclerview

NEW QUESTION: 148


When is the intent resolution process triggered?
A. When an explicit intent starts a service.
B. When the system receives an explicit intent to start an activity.
C. When the application calls method startActivityIntentResolution.
D. When the system receives an implicit intent to start an activity.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 149


Which of the following is required to allow Android Studio to interact with a custom view?
A. Provide a constructor that takes a Context object as parameter.
B. Provide a constructor that takes a Context and an AttributeSet object as parameters.
C. Override method onDraw() of class View.
D. Extend class View.
Answer: (SHOW ANSWER)

NEW QUESTION: 150


In which Android version were Runtime permissions added?
A. Android 5.0
B. Android 5.1
C. Android 6.0
D. Android 4.4
Answer: (SHOW ANSWER)

NEW QUESTION: 151


Which of the following is NOT true about class AsyncTask?
A. It must be used by sub-classing it.
B. It must be created on the UI thread.
C. Its sub-class override at least two methods: doInBackground, onPostExecute.
D. It uses three generic types.
Answer: C (LEAVE A REPLY)
Explanation/Reference:
AsyncTask must be subclassed to be used. The subclass will override at least one method
(doInBackground(Params...)), and most often will override a second one
(onPostExecute(Result).) Incorrect:
A: AsyncTask must be subclassed to be used.
B: AsyncTask enables proper and easy use of the UI thread. This class allows to perform
background operations and publish results on the UI thread without having to manipulate
threads and/or handlers.
D: The three types used by an asynchronous task are the following:
Params, the type of the parameters sent to the task upon execution.
Progress, the type of the progress units published during the background computation.
Result, the type of the result of the background computation.
References:
http://developer.android.com/reference/android/os/AsyncTask.html
Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401
Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 152


Which of the following is a Java call-back method invoked when a view is clicked?
A. Detector
B. OnTapListener
C. OnClickDetector
D. OnClickListener
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 153


Which of the following WebView methods allows you to manually load custom HTML
markup?
A. loadData
B. loadHTML
C. loadCustomData
D. loadCustomHTML
Answer: (SHOW ANSWER)
Explanation/Reference:
Example: To load the desired web page from an HTML string:
String summary = "<html><body>You scored <b>192</b> points.</body></html>";
webview.loadData(summary, "text/html", null);
References:
http://developer.android.com/reference/android/webkit/WebView.html

NEW QUESTION: 154


Which ORMLite library annotation would you use to mark a class Xyz to be persisted in SQL
database?
A. @DatabaseTable(tableName = "xyz")
B. @DataTable(tableName = "xyz")
C. @DatabaseClass
D. @PersistenceTable(name = "xyz")
Answer: A (LEAVE A REPLY)

NEW QUESTION: 155


Which of these is the correct explanation regarding the following methods?
(1)android.content.Context.sendBroadcast
(2)android.content.Context.startActivity
A. Both methods throw an exception.
B. Both methods are defined by overloading.
C. Both methods are able to broadcast an Intent.
D. Both methods are asynchronous.
Answer: C (LEAVE A REPLY)

NEW QUESTION: 156


Which of the following Classes is responsible for capturing the location using GPS?
A. LocationManager
B. GPSLocationManager
C. GPS Provider
D. GPSManager
Answer: A (LEAVE A REPLY)

NEW QUESTION: 157


Consider the following AndroidManifest.xml file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mkyong.android"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="10" />
<uses-permission android:name="android.permission.WebActivity " />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".WebViewActivity"
android:theme="@android:style/Theme.NoTitleBar" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Supposing the application connects to the internet at startup, which of the following is true?
A. The application throws an exception indicating it does not have permission to access the
URL
B. The application will work as intended
C. The application won't compile
D. The application throws a java.lang.SecurityException
Answer: A (LEAVE A REPLY)
Explanation/Reference:
The program will compile, but then it will not be able to access the internet, as it does not
have uses- permission="android.permission.INTERNET"

NEW QUESTION: 158


Which of the following are NOT correct about Normal Permissions? (Choose two)
A. You have to get them approved explicitly from user at runtime.
B. ACCESS_WIFI_STATE is classified as normal permission.
C. They have low level impact on privacy of users.
D. They do not impact the privacy of users.
Answer: A,C (LEAVE A REPLY)

NEW QUESTION: 159


If your application is throwing exception android.content.ActivityNotFoundException, which
of the following could resolve the problem?
A. Create a new sub-class of the View class.
B. Create a new broadcast receiver
C. Create the activity layout
D. Add the activity to the AndroidManifest.xml
Answer: (SHOW ANSWER)
Explanation/Reference:
The ActivityNotFoundException is thrown when a call to startActivity(Intent) or one of its
variants fails because an Activity cannot be found to execute the given Intent.
References:
http://developer.android.com/reference/android/content/ActivityNotFoundException.html

NEW QUESTION: 160


Which of the following permissions is not required to integrate Google Maps into your
Android application?
A. All answers are correct
B. android.permission.WRITE_EXTERNAL_STORAGE
C. android.permission.ACCESS_FINE_LOCATION
D. android.permission.READ_EXTERNAL_STORAGE
Answer: C (LEAVE A REPLY)

NEW QUESTION: 161


Which of the following is NOT correct about CardView?
A. Views can be added inside CardView.
B. It is used to make card-like views.
C. CardView is available through support library.
D. Views cannot be added inside CardView.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 162


Consider the following code snippet to query SQLite database:
String[] result_columns = new String[] {KEY_ID, COL1, COL2};
Cursor allRows = myDatabase.query(true, DATABASE_TABLE, result_columns, null, null,
null, null, null, null);
Which of the following prints out the values of COL1 column correctly if the result is not
empty?
A. do {
System.out.println(allRows.getString(0));
}
while (allRows.moveToNext());
B. if (allRows.moveToFirst()) {
do {
System.out.println(allRows.getString(0));
}
while (allRows.moveToNext()); }
C. if (allRows!= null) {
do {
System.out.println(allRows.getString(1));
}
while (!allRows.isNull()); }
D. if (allRows.moveToFirst()) {
do {
System.out.println(allRows.getString(1));
}
while (allRows.moveToNext()); }
Answer: (SHOW ANSWER)

NEW QUESTION: 163


Which of the following statements is correct about SQLite?
A. It is an object database.
B. It is client-server format.
C. It is possible to create and access a database by using SQLOpenHelper.
D. It can be accessed by other applications through ContentProvider.
Answer: (SHOW ANSWER)
Explanation/Reference:
Content providers are one of the primary building blocks of Android applications, providing
content to applications. They encapsulate data and provide it to applications through the
single ContentResolver interface. A content provider is only required if you need to share
data between multiple applications. For example, the contacts data is used by multiple
applications and must be stored in a content provider. If you don't need to share data
amongst multiple applications you can use a database directly via SQLiteDatabase.
References:
http://stackoverflow.com/questions/13542892/android-access-sqlite-database-via-content-
provider-or- implement-dao

NEW QUESTION: 164


Which of the following statements is true about Google Map API key?
A. Google Map API key is unique per Device.
B. Google Map API key is unique per Developer.
C. Google Map API key is unique per User.
D. Google Map API key is unique per Project.
Answer: (SHOW ANSWER)

NEW QUESTION: 165


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.
B. The code opens a menu resource file, modifies it, and saves the changes.
C. The code assign actions to menu items.
D. The code creates menu items for context menu programmatically.
Answer: D (LEAVE A REPLY)
NEW QUESTION: 166
What is the name of the class used by Intent to store additional information?
A. Extra
B. Parcelable
C. Bundle
D. DataStore
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 167


Which of the following is the base class of all layout UI widgets?
A. ViewGroup
B. Layout
C. ListView
D. View
Answer: D (LEAVE A REPLY)

NEW QUESTION: 168


Which of the following is mandatory for a Notification object to contain? (Choose three.)
A. A notification sound
B. A detail text.
C. A small icon
D. A title
Answer: B,C,D (LEAVE A REPLY)

NEW QUESTION: 169


What Activity method you use to retrieve a reference to an Android view by using the id
attribute of a resource XML?
A. findViewByReference(int id);
B. findViewById(int id)
C. retrieveResourceById(int id)
D. findViewById(String id)
Answer: (SHOW ANSWER)
Explanation/Reference:
The findViewById(int id) method looks for a child view with the given id.
References:
http://developer.android.com/reference/android/view/View.html

NEW QUESTION: 170


Custom views for notifications are allowed in Android.
A. Depends on developer skills.
B. True
C. Depends on the device manufacturer.
D. False.
Answer: B (LEAVE A REPLY)

NEW QUESTION: 171


CardView extends from which of the following:
A. RelativeLayout
B. LinearLayout
C. TableLayout
D. FrameLayout
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
https://developer.android.com/reference/android/support/v7/widget/CardView.html

NEW QUESTION: 172


When creating a file using android.content.Context.openFileOutput("test.txt", 0), where is
the file created?
A. /data/app/<package name>/files
B. /data/data/<package name>/files
C. /system/app/<package name>/files
D. /system/data/<package name>/files
Answer: B (LEAVE A REPLY)
Explanation/Reference:
The file is created in the /data/data/PACKAGE_NAME/files folder.
References:
http://www.programcreek.com/java-api-examples/index.php?
class=android.content.Context&method=openFileOutput
NEW QUESTION: 173
Which of the following measurement units are used in coordinate system when adding
locations for testing via Emulator tools? (Choose two.)
A. Hexadecimal
B. Decimal
C. Meters
D. Decimal
Answer: B,D (LEAVE A REPLY)

NEW QUESTION: 174


What two methods you have to override when implementing Android option menus?
A. onCreateOptionsMenu, onCreateContextMenu
B. onCreateContextMenu, onContextItemSelected
C. onCreateOptionsMenu, onOptionsItemSelected
D. onCreateOptionsMenu, onContextItemSelected
Answer: (SHOW ANSWER)
Explanation/Reference:
To specify the options menu for an activity, override onCreateOptionsMenu().
When the user selects an item from the options menu (including action items in the app bar),
the system calls your activity's onOptionsItemSelected() method. This method passes the
MenuItem selected. You can identify the item by calling getItemId(), which returns the
unique ID for the menu item (defined by the android:id attribute in the menu resource or with
an integer given to the add() method). You can match this ID against known menu items to
perform the appropriate action. For example:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
Etc.
References:
http://developer.android.com/guide/topics/ui/menus.html

NEW QUESTION: 175


How many snackbars can be displayed at a time?
A. One.
B. Two.
C. Depends on the view.
D. As Many as developer wants.
Answer: A (LEAVE A REPLY)
Explanation/Reference:
References:
https://developer.android.com/reference/android/support/design/widget/Snackbar.html
NEW QUESTION: 176
You are building an application that supports API level 11 and higher. Which of the following
classes you must import if you want to add an Action Bar to your application?
A. android.view.ActionBar
B. android.app.ActionBar
C. android.widgets.ActionBar
D. android.support.v7.app.ActionBar
Answer: B (LEAVE A REPLY)

NEW QUESTION: 177


Which of the following files specifies the minimum required Android SDK version your
application supports?
A. strings.xml
B. main.xml
C. build.gradle
D. R.java
Answer: C (LEAVE A REPLY)

NEW QUESTION: 178


Which of the following options are correct about ConstraintLayout's baseline constraint
handle?
A. All answers are incorrect.
B. Baseline constraint handles can be applied to only side constraint handles on the same
axis.
C. "Baseline constraint handles can be applied to only side constraint handles on the same
axis" and
"Baseline constraint handles aligns the bottom edges of views".
D. Baseline constraint handles aligns the bottom edges of views.
Answer: (SHOW ANSWER)

NEW QUESTION: 179


Which Method allows setting action to snackbars?
A. setCallback(view)
B. setAction(CharSequence,View)
C. setOnClickListener( )
D. It is not allowed
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/reference/android/support/design/widget/Snackbar.html
NEW QUESTION: 180
Which of the following functions does not belong to LocationListener?
A. onLocationChanged
B. onStatusChanged
C. onLocationCaptured
D. onProviderDisabled
Answer: C (LEAVE A REPLY)
Explanation/Reference:

NEW QUESTION: 181


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. It does not have a method to access the activity that owns it.
D. A dialog is displayed on the screen using method show( ).
Answer: A,D (LEAVE A REPLY)

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 182


Which of the following interfaces is necessary to access Google Maps once it is ready?
A. OnMapReadyCallback
B. OnMapReady
C. OnGoogleMapReadyCallback
D. OnGoogleMapReady
Answer: A (LEAVE A REPLY)

NEW QUESTION: 183


What does the following code do?
dialog.getWindow().setFlags(LayoutParams.FLAG_BLUR_BEHIND,
LayoutParams.FLAG_BLUR_BEHIND);
A. When dialog is displayed the activity behind it will be blurred.
B. When dialog is displayed the activity behind it will be dimmed.
C. Any EditText behind the dialog will be disabled.
D. When the dialog is displayed, the edges of the dialog will be blurred.
Answer: A (LEAVE A REPLY)
Explanation/Reference:
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.
References:
http://developer.android.com/reference/android/view/
WindowManager.LayoutParams.html#FLAG_BLUR_BEHIND

NEW QUESTION: 184


Which of the following is added as intent action for deep linking?
A. ACTION_SEARCH
B. ACTION_VIEW
C. ACTION_BROWSE
D. ACTION_URL
Answer: (SHOW ANSWER)

NEW QUESTION: 185


Which of the following is not true about using a WebView in your application?
A. You can retrieve WebSettings with getSettings(), then enable/disable JavaScript
B. You need to add permission "android.permission.ACCESS_NETWORK_STATE"
C. You use loadURL to load a webpage
D. You use loadData to load HTML
Answer: (SHOW ANSWER)
Explanation/Reference:
In order for your Activity to access the Internet and load web pages in a WebView, you must
add the INTERNET permissions to your Android Manifest file:
<uses-permission android:name="android.permission.INTERNET" />
References:
http://developer.android.com/reference/android/webkit/WebView.html

NEW QUESTION: 186


Which folder contains the Android project Java files?
A. res
B. manifests
C. assets
D. java
Answer: (SHOW ANSWER)
Explanation/Reference:
References:
https://developer.android.com/studio/projects/index.html

NEW QUESTION: 187


Which of the following Android View sub-classes uses the WebKit rendering engine to
display web pages?
A. HttpClient
B. WebView
C. MapView
D. PageView
Answer: B (LEAVE A REPLY)

NEW QUESTION: 188


Which of the following is correct about XML layout files?
A. Layout information written in the XML layout file will be converted into code by the
Android platform when the screen is displayed.
B. There is no distinction between implementation of the layout definition by code, or by
XML layout file.
C. In order to display a UI defined in the XML layout file "main.xml", call the setContentView
method of the Activity with the parameter string "main.xml".
D. In an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout
directory.
Answer: D (LEAVE A REPLY)

NEW QUESTION: 189


Best practice to implement Google Maps is to use Webview that calls the online Google
Map API.
A. True
B. False
Answer: B (LEAVE A REPLY)

NEW QUESTION: 190


In which Activity life-cycle method you should do all of your normal static set up such as:
creating views and bind data to lists?
A. onResume()
B. onStart()
C. onCreate()
D. onPause()
Answer: C (LEAVE A REPLY)
Explanation/Reference:
onCreate(Bundle) is where you initialize your activity.
References:
http://developer.android.com/reference/android/app/Activity.html

NEW QUESTION: 191


Which is not included in the Android application framework?
A. WindowManager
B. NotificationManager
C. DialerManager
D. PackageManager
Answer: C (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 192


How is the lifecycle of Service connected to the component that started it?
A. Same Lifecycler
B. Parallel Lifecycle
C. Sequence Lifecycle
D. Independent
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
https://developer.android.com/guide/components/services.html

NEW QUESTION: 193


Which of the following is NOT true about the R.java file?
A. It is used by developers to access any resource through an ID.
B. It can be modified manually to change the ID of a resource.
C. It is auto-generated during the build of the project.
D. It contains resource IDs for all resources in your /res/ folder.
Answer: B (LEAVE A REPLY)

NEW QUESTION: 194


Which of the following lines of codes adds zoom controls to a WebView?
A. webView.getZoomSettings().setControls(CONTROLS.enabled);
B. webView.getSettings().setBuiltInZoomControls(true);
C. webView.getSettings().setZoomControls(true);
D. Zoom controls are included by default in WebViews
Answer: (SHOW ANSWER)
NEW QUESTION: 195
Which of the following best explains the Android popup menus?
A. It displays a list of items vertically and is anchored to the view that invoked the menu.
B. 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".
C. It is a floating menu that appears when the user performs a long-click on an element.
D. It is only displayed when the user presses the home button twice.
Answer: (SHOW ANSWER)

NEW QUESTION: 196


Which of the following information cannot not be included in the Manifest file?
A. The activities contained in the application
B. The permissions required by the application
C. The application's minimum SDK version required.
D. The handset model compatible with your application.
Answer: D (LEAVE A REPLY)
Explanation/Reference:
Among other things, the manifest does the following:
* It describes the components of the application - the activities, services, broadcast
receivers, and content providers that the application is composed of.
* It declares which permissions the application must have in order to access protected parts
of the API and interact with other applications.
* It declares the minimum level of the Android API that the application requires.
References:
http://developer.android.com/guide/topics/manifest/manifest-intro.html

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

NEW QUESTION: 197


Which of the following is NOT the primary hardware involved in performing simple tasks like
putting pixels on screen?
A. CPU
B. GPU
C. Cache
D. Memory storage
Answer: C (LEAVE A REPLY)

NEW QUESTION: 198


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: (SHOW ANSWER)
Explanation/Reference:
To show a context menu on long click, most clients will want to call
registerForContextMenu(View).
References:
http://developer.android.com/reference/android/view/ContextMenu.html

NEW QUESTION: 199


Which of the following methods can we call in Notification.Builder to add an action?
A. setRemoteAction( )
B. addAction( )
C. setContentAction(
D. setAction( )
Answer: (SHOW ANSWER)

NEW QUESTION: 200


Which of the following Material Theme attributes are used to custom the color palette in your
application?
(Choose Three)
A. android: colorAccent
B. android: colorPrimary
C. android: colorPrimaryText
D. android: colorPrimaryDark
Answer: (SHOW ANSWER)
Explanation/Reference:
Example:
To customize the theme's base colors to fit your brand, define your custom colors using
theme attributes when you inherit from the material theme:
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/primary</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/accent</item>
</style>
</resources>
Customizing the material theme. See figure below.
References:
http://developer.android.com/training/material/theme.html

NEW QUESTION: 201


Which of the following is correct about Runtime permissions?
A. These can be revoked or canceled at any time resulting in cancelling all the permissions
of the app.
B. These are granted while app is running on device.
C. These are granted at the time of installation.
D. Runtime Permissions are added below the normal permissions in AndroidManifest.xml
with the tag
<uses-runtime-permission/>.
Answer: B (LEAVE A REPLY)

NEW QUESTION: 202


Which of the following is NOT a valid usage for Intents?
A. Activate and Activity
B. Activate a Service
C. Activate a Broadcast receiver
D. Activate a SQLite DB Connection.
Answer: D (LEAVE A REPLY)
Explanation/Reference:
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

NEW QUESTION: 203


GPS provider requires a physical device and cannot be tested on an Emulator.
A. False
B. True
Answer: B (LEAVE A REPLY)

NEW QUESTION: 204


Which of the following is incorrect about intents?
A. They can be used to start an Activity
B. They can be used to start a service
C. They can be used to start database insertion
D. They can be used to start a dialog-themed activity.
Answer: C (LEAVE A REPLY)
Explanation/Reference:
Incorrect:
A, B: An intent is an abstract description of an operation to be performed. It can be used
with startActivity to launch an Activity, broadcastIntent to send it to any interested
BroadcastReceiver components, and startService(Intent) or bindService(Intent,
ServiceConnection, int) to communicate with a background Service.
D: Example:
public static final String ACTION_BATTERY_LOW
Added in API level 1
Broadcast Action: Indicates low battery condition on the device. This broadcast corresponds
to the "Low battery warning" system dialog.
References:
http://developer.android.com/reference/android/content/Intent.html

NEW QUESTION: 205


Which of the following best explains the Android option menus?
A. It is a type of List Activity with predefined headers and footers for special commands.
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 where you should place actions
that have a global impact on the app, such as "Search," "Compose email," and "Settings."
D. It is a popup menu that displays a list of items in a vertical list anchored to the view that
invoked the menu.
Answer: C (LEAVE A REPLY)

NEW QUESTION: 206


Which of the following makes a ListView Clickable?
A. setEnabled(true)
B. setItemsEnabled(true)
C. setClickable(true)
D. setVisibility(View.Visible)
Answer: A (LEAVE A REPLY)

NEW QUESTION: 207


Which of the following methods updates a ListView when an element is added to the data
set?
A. notify( )
B. notifyAll( )
C. notifyDataSetInvalidate( )
D. notifyDataSetChanged( )
Answer: D (LEAVE A REPLY)

NEW QUESTION: 208


What is direct reply in Android 7?
A. Feature that automatically replies using AI.
B. Feature that shows reply suggestions.
C. Helps manage system message replies.
D. Gives ability to reply from notification of Android.
Answer: (SHOW ANSWER)

Valid AND-401 Dumps shared by PrepAwayExam.com for Helping Passing AND-401


Exam! PrepAwayExam.com now offer the newest AND-401 exam dumps, the
PrepAwayExam.com AND-401 exam questions have been updated and answers have
been corrected get the newest PrepAwayExam.com AND-401 dumps with Test Engine
here: https://www.prepawayexam.com/Android/braindumps.AND-401.ete.file.html (130
Q&As Dumps, 40%OFF Special Discount: freecram)

You might also like