What does the following code snippet do?
C
Assume you were given the code of an Android app that include a Google Map. When you checked
the apps code, you found the following: var locationMangaer: LocationManager?=null var
locationUstener: LocationListener?=null Which of the following is true about this app?
A
The following Android code locates Toronto CN tower on Google map using on the latitude and
longitude coordinates. Which of the following choices is the correct choice to show your Google map
in the zoom-in state?
A.
Replace:
GMap.moveCameralCameraaUpdateFactory.newLatLng(cnToiwf))
with:
GMap.moveCameta{CameraUpdaieFaclory.newtalLnoZoom(cnTowerT16f)0
B. We can only show a position on Google map and we don't have permission to modify the zoom
level
C. Change the coordinates value to get the zoom level what we need
D. Add the following code: GoogleMapZoom(60)%
A
The following image displays an Android notification labeled with the responsible to configure each
part of it. Which of the following choices sets the Android notification title?
D
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?
C
The code snippet below displays a menu which is illustrated in another image. The emulator image
displays a menu that contains three items, but in the code file none of these menu items are
available. Where do these items come from?
B
The following image includes Android code for creating a Date Picker. The date will appear in
TextView which has id: dateText. Which of the following choices is correct about why you must add T
to the month as illustrated in the code highlighted in brown?
A
The following images include an Android code for SeekBar (id: MyseekBar) and one state of its
operation. What does "Result" represent in this code?
C
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"?
B
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?
A