Which of the following classes is used by Intent to transfer data between different android components?
Answer(s): B
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.
http://stackoverflow.com/questions/4999991/what-is-a-bundle-in-an-android-application
Which of the following is true about implicit intents? (Choose two)
Answer(s): A,C
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.
http://developer.android.com/guide/components/intents-filters.html
Which of the following classes should be extended to create a custom view?
Answer(s): A
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.
http://developer.android.com/training/custom-views/create-view.html
An AsyncTask can be cancelled anytime from any thread.
A task can be cancelled at any time by invoking cancel(boolean).
http://developer.android.com/reference/android/os/AsyncTask.html
Which of the following is NOT true about onMeasure() method of class View?
Answer(s): D
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.
http://developer.android.com/reference/android/view/View.html#onMeasure(int, int)
Share your comments for Android AND-401 exam with other users:
good questions
Delayed the exam until December 29th.
A and D are True
good one with explanation
This is one of the most useful study guides I have ever used.
Keeping this site free takes real effort. We constantly battle automated scraping and unauthorized content copying. A quick account helps us protect the community and keep the site free.
To continue studying for your AND-401, please sign in or create a free account.