Android AND-401 Android Application Development Online Training
Android AND-401 Online Training
The questions for AND-401 were last updated at May 08,2025.
- Exam Code: AND-401
- Exam Name: Android Application Development
- Certification Provider: Android
- Latest update: May 08,2025
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.
Which of the following is a Java call-back method invoked when a view is clicked?
- A . Detector
- B . OnTapListener
- C . OnClickDetector
- D . OnClickListener
Which of the following is not an Activity lifecycle call-back method?
- A . onStart
- B . onCreate
- C . onPause
- D . onBackPressed
Which method is used to close an activity?
- A . Destroy()
- B . Finish()
- C . Stop()
- D . Close()
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
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”/>
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
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
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