Android Application Development v8 AND-801 Exam Questions

Page: 1 / 14
Total 45 questions
Question 1

If you want to configure a link between two Android activities in the same Android application, you need to use:



Answer : C


Question 2

The following image includes Android code for a WebView widget (ID: MyWebView) to work as a web browser for the URL: http://www.androidatc.com. When you run this code, the app does not open the www.androidatc.com web site. Which step is still missing to open this web site through this app?



Answer : C


Question 3

Which of the following is true about the following line of code: button.setOnClickListener({})



Answer : B


Question 4

Android Studio is the official IDE for Android application development.



Answer : B


Question 5

The following image includes Android code for an app that contains a button with an id : "Downloadbutton". When the app user clicks this button, a progress bar with id: "progressBar" will show up. What will happen if you change *'rate+=10" illustrated with green underlined text to ''rate+=50"?



Answer : B


Question 6

The first image below includes an Android code to generate AlertDialog which is illustrated in the second image. The last line of the code includes "xxxxxxx". Which of the following choices is the correct line of code to replace "xxxxxxx" for the purpose of showing this AlertDialog?



Answer : A


Question 7

Assume you are developing an Android app which consists of two activities, MainActivity and SecondActivity. The following image includes part of MainActivity code. This file includes a button that has id "Mybutton". What does the following code snippet do if it is executed after the user taps on the button (id: Mybutton)?



Answer : A


Page:    1 / 14   
Total 45 questions