What is the parent class of all Activity widgets?
What is the parent class of all Activity widgets?A . ViewGroupB . LayoutC . ViewD . WidgetView AnswerAnswer: C Explanation: References: Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
Which of these is the incorrect explanation of the Android SDK and AVD Manager?
Which of these is the incorrect explanation of the Android SDK and AVD Manager?A . They are provided from version 1.6 of the SDB . Up to Version 1.5, there was an AVD Manager but it lacked SDK management functions.C . You can create and startup AVD, and on startup...
Which of the following statements about DDMS is incorrect?
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...
Which of the following Activity life-cycle methods is invoked when a dialog is shown?
Which of the following Activity life-cycle methods is invoked when a dialog is shown?A . onPause()B . onCreate()C . onStop()D . onDestroy()View AnswerAnswer: A Explanation: onPause() is where you deal with the user leaving your activity. References: http://developer.android.com/reference/android/app/Activity.html
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?
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()View AnswerAnswer: C Explanation: onCreate(Bundle) is where you initialize your activity. References: http://developer.android.com/reference/android/app/Activity.html
The DalvikVM core libraries are a subset of which of the following?
The DalvikVM core libraries are a subset of which of the following?A . Java MEB . Java SEC . Java EED . JAX-WSView AnswerAnswer: B Explanation: 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...
During an Activity life-cycle, what is the first callback method invoked by the system?
During an Activity life-cycle, what is the first callback method invoked by the system?A . onStop()B . onStart()C . onCreate()D . onRestore()View AnswerAnswer: C Explanation: References: Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
Which of the following is true about attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml?
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 notB . It adjusts how the main window of the activity interacts with keyboardC . It adjusts how the window should be launchedD...
Which is the correct explanation of ListView?
Which is the correct explanation of ListView?A . It is necessary to use ListView as a set with ListActivity.B . You cannot use a ListView when there is no information to be displayed.C . When displaying a list of Strings using an ArrayAdapter class in ListView, you must save the...
Method onDraw() of class android.view.View has the following signature:
Method onDraw() of class android.view.View has the following signature:A . public void onDraw(Color)B . public void onDraw(Canvas)C . public boolean onDraw(Canvas)D . public Canvas onDraw()View AnswerAnswer: B Explanation: The parameter to onDraw() is a Canvas object that the view can use to draw itself. References: http://developer.android.com/training/custom-views/custom-drawing.html