Deck 11: Discover Incorporating Google Maps

Full screen (f)
exit full mode
Question
It is unusual for an app to request the GPS location permission.
Use Space or
up arrow
down arrow
to flip the card.
Question
You can call an API for Google Maps, but there is no way to embed it directly into your own app.
Question
An app requires permission to access the remote Google libraries in order to load map data.
Question
Using the Google Maps API is free as long as your application ____.

A) is free as well
C) shows ads in the interface
B) makes under 10 calls a day per user
D) tracks user information for Google
Question
The most popular mapping application today is owned by Google.
Question
To generate an MD5 fingerprint of the debug certificate, Windows Explorer or the Finder is used to locate the debug.keystore file in the active ____ directory.

A) keystore
C) platform
B) debug
D) AVD
Question
AVD is short for ____.

A) Abstract Viewing Device
C) Android Virtual Device
B) Accessible Virtual Device
D) Application Viewing Design
Question
Google Maps has a(n) ____ service that can be used to generate directions.

A) cell phone
C) physical mail
B) email
D) text message
Question
Android Google Map capabilities include instantly posting your present location on ____ sites.

A) emulator
C) map
B) social networking
D) API
Question
A Google Maps API key can only be used by one particular app.
Question
Before you can run an Android Google Maps application, you need to apply for a free Google Maps API key so you can integrate Google Maps into your Android application.
Question
API is short for ____.

A) Accessibility Programming Instructions
C) Adaptive Phone Interface
B) Accountable Payments Initiative
D) Application Programming Interface
Question
The ____ method determines if the application is displaying any route information.

A) getRouteStatus
C) listRouteStatus
B) isRouteDisplayed
D) showingRoutes
Question
An Android map application gives you access to Google Maps data, but Google requires that you register with the Google Maps service and agree to the ____ before your mapping application can obtain data from Google Maps.

A) mobile agreement
C) API key
B) Terms of Service
D) security agreement
Question
The Google mapping technology relies on the MapView class within Android.
Question
In order to use Google Maps, the main Activity class should extend ____.

A) GPSActivity
C) MapActivity
B) LocatableActivity
D) StreetActvity
Question
Google Maps was first released in the United States in 2005.
Question
The class that allows you to display the Google Maps interface in your application is called ____.

A) MapExplorer
C) MapGrid
B) MapFinder
D) MapView
Question
The pushpin image used for location finding in Google Maps cannot be modified.
Question
Each GeoPoint location is defined with a microdegrees location representing latitude and longitude.
Question
To display a Google map in an Android app, the API key must be added to the ____ file.

A) display
C) certificate
B) main.xml layout
D) mapping
Question
Google Maps now extends beyond the Earth's surface boundaries and now includes Google Sky, Google Moon, and Google ____.

A) Venus
C) Jupiter
B) Mars
D) Comet
Question
By installing the ____________________, you can embed the Google Maps site directly into an Android application, and then overlay app-specific data on the maps.
Question
To create an overlay, the ____ class, which manages the individual items placed as a layer on the map, must be implemented.

A) Overlay
C) ItemizedOverlay
B) OverlayItem
D) AddOverlay
Question
The Android defines ____ levels of zoom.

A) 3
C) 21
B) 13
D) 45
Question
The ____ box, which is a simple dialog box that displays a message to the user about the overlay item, can contain a getTitle( ) method that displays a larger title at the top and a getSnippet( ) method that displays a message in a smaller font below the title.

A) SetMessage
C) SetBuilder
B) GetSnippet
D) AlertDialog
Question
The ____ method is necessary to add each new item in the ItemizedOverlay, which reads each of the OverlayItems and prepares for each image to be drawn on top of the map in a new visible layer.

A) emulate( )
C) switch( )
B) populate( )
D) overlay( )
Question
When the user taps the pushpin image on the Google map, the ____ method receives the index of the overlay item that was tapped by the user.

A) TapAlert( )
C) onTap( )
B) Tap( )
D) onPush( )
Question
Permissions for an app to connect to the Internet must be placed within the manifest element of the ____ file.

A) Android GPS
C) Android Manifest
B) Android Application
D) Android Data
Question
Sending a text message to Google with the from and to locations, results in Google quickly responding with a text message containing complete ____________________ directions.
Question
The Google mapping application cannot run in the ____________________ if it is not signed with your local API key.
Question
Registering for a Google Maps API key is a task that only needs to be performed ____________________; the purpose is mainly for security.
Question
When the populate( ) method executes, the constructor ____ retrieves an OverlayItem in the array, and then returns the OverlayItem from the position specified by an integer value.

A) createItem(int)
C) getItem(int)
B) setItem(int)
D) runItem(int)
Question
The message "The fingerprint you entered is not a valid Google Maps API key" indicates you did not enter the correct ____ for your computer.

A) apiKey
C) MD5 fingerprint
B) XML code
D) file location
Question
The Overlay class must first assign an array called a(n) ____, an expandable array that holds the overlay objects displayed in a layer on the map image.

A) ArrayOverlay
C) ArrayList
B) ArrayDrawable
D) ArrayContext
Question
A new Android Maps project has an Application Name, a(n) ____, and an Activity Name.

A) Package Name
C) External Name
B) Workspace Name
D) Target Name
Question
To find the MD5 fingerprint of a Mac OS X computer, type ____ in the Command Prompt window.

A) keytool.exe
B) keytool -list -keystore ~/.android/debug.keystore
C) keytool.exe -list -alias
D) cmd keytool
Question
Setting the application's properties to select the Google APIs add-on as the build target allows the ____________________ Manager to use the new Google API package.
Question
A map marker, or ____, uses a graphic image to indicate a specific location on a map folder.

A) class
C) overlay
B) bin
D) map
Question
When an OverlayItem is created, it must have a GeoPoint location, a String title, and a(n) ____ snippet before the populate( ) method can call the item.

A) GeoPoint
C) String
B) Layout
D) Overlay
Question
The ____________________ property allows the site visitor to use the built-in zoom feature.
Question
A(n) ____________________ is a value included as part of a file to verify the integrity of the file.
Question
The URL of the Web site where users can sign up for a Google Maps API key is http ://____________________.
Question
The program to manage security files on the Mac is called ____________________.
Question
To display the Google Maps in your Activity, you must use the ____________________ element in your code.
Question
The XML property in the MapView class that provides the API key to the class is ____________________.
Question
You can use ____________________ to prevent malicious outside applications from corrupting data and accessing sensitive information.
Question
The XML code to allow an app to access to the Internet is ____________________.
Question
A unique Google Maps ____________________ is a long string of seemingly random alphanumeric characters.
Question
The Android installed environment contains a file, or debug certificate named ____________________, which contains a unique identification.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Discover Incorporating Google Maps
1
It is unusual for an app to request the GPS location permission.
False
2
You can call an API for Google Maps, but there is no way to embed it directly into your own app.
False
3
An app requires permission to access the remote Google libraries in order to load map data.
True
4
Using the Google Maps API is free as long as your application ____.

A) is free as well
C) shows ads in the interface
B) makes under 10 calls a day per user
D) tracks user information for Google
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
The most popular mapping application today is owned by Google.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
To generate an MD5 fingerprint of the debug certificate, Windows Explorer or the Finder is used to locate the debug.keystore file in the active ____ directory.

A) keystore
C) platform
B) debug
D) AVD
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
AVD is short for ____.

A) Abstract Viewing Device
C) Android Virtual Device
B) Accessible Virtual Device
D) Application Viewing Design
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Google Maps has a(n) ____ service that can be used to generate directions.

A) cell phone
C) physical mail
B) email
D) text message
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
Android Google Map capabilities include instantly posting your present location on ____ sites.

A) emulator
C) map
B) social networking
D) API
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
A Google Maps API key can only be used by one particular app.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Before you can run an Android Google Maps application, you need to apply for a free Google Maps API key so you can integrate Google Maps into your Android application.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
API is short for ____.

A) Accessibility Programming Instructions
C) Adaptive Phone Interface
B) Accountable Payments Initiative
D) Application Programming Interface
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
The ____ method determines if the application is displaying any route information.

A) getRouteStatus
C) listRouteStatus
B) isRouteDisplayed
D) showingRoutes
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
An Android map application gives you access to Google Maps data, but Google requires that you register with the Google Maps service and agree to the ____ before your mapping application can obtain data from Google Maps.

A) mobile agreement
C) API key
B) Terms of Service
D) security agreement
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The Google mapping technology relies on the MapView class within Android.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
In order to use Google Maps, the main Activity class should extend ____.

A) GPSActivity
C) MapActivity
B) LocatableActivity
D) StreetActvity
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
Google Maps was first released in the United States in 2005.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
The class that allows you to display the Google Maps interface in your application is called ____.

A) MapExplorer
C) MapGrid
B) MapFinder
D) MapView
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
The pushpin image used for location finding in Google Maps cannot be modified.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
Each GeoPoint location is defined with a microdegrees location representing latitude and longitude.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
To display a Google map in an Android app, the API key must be added to the ____ file.

A) display
C) certificate
B) main.xml layout
D) mapping
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Google Maps now extends beyond the Earth's surface boundaries and now includes Google Sky, Google Moon, and Google ____.

A) Venus
C) Jupiter
B) Mars
D) Comet
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
By installing the ____________________, you can embed the Google Maps site directly into an Android application, and then overlay app-specific data on the maps.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
To create an overlay, the ____ class, which manages the individual items placed as a layer on the map, must be implemented.

A) Overlay
C) ItemizedOverlay
B) OverlayItem
D) AddOverlay
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
The Android defines ____ levels of zoom.

A) 3
C) 21
B) 13
D) 45
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
The ____ box, which is a simple dialog box that displays a message to the user about the overlay item, can contain a getTitle( ) method that displays a larger title at the top and a getSnippet( ) method that displays a message in a smaller font below the title.

A) SetMessage
C) SetBuilder
B) GetSnippet
D) AlertDialog
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
The ____ method is necessary to add each new item in the ItemizedOverlay, which reads each of the OverlayItems and prepares for each image to be drawn on top of the map in a new visible layer.

A) emulate( )
C) switch( )
B) populate( )
D) overlay( )
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
When the user taps the pushpin image on the Google map, the ____ method receives the index of the overlay item that was tapped by the user.

A) TapAlert( )
C) onTap( )
B) Tap( )
D) onPush( )
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Permissions for an app to connect to the Internet must be placed within the manifest element of the ____ file.

A) Android GPS
C) Android Manifest
B) Android Application
D) Android Data
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Sending a text message to Google with the from and to locations, results in Google quickly responding with a text message containing complete ____________________ directions.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
The Google mapping application cannot run in the ____________________ if it is not signed with your local API key.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
Registering for a Google Maps API key is a task that only needs to be performed ____________________; the purpose is mainly for security.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
When the populate( ) method executes, the constructor ____ retrieves an OverlayItem in the array, and then returns the OverlayItem from the position specified by an integer value.

A) createItem(int)
C) getItem(int)
B) setItem(int)
D) runItem(int)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
The message "The fingerprint you entered is not a valid Google Maps API key" indicates you did not enter the correct ____ for your computer.

A) apiKey
C) MD5 fingerprint
B) XML code
D) file location
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
The Overlay class must first assign an array called a(n) ____, an expandable array that holds the overlay objects displayed in a layer on the map image.

A) ArrayOverlay
C) ArrayList
B) ArrayDrawable
D) ArrayContext
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
A new Android Maps project has an Application Name, a(n) ____, and an Activity Name.

A) Package Name
C) External Name
B) Workspace Name
D) Target Name
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
To find the MD5 fingerprint of a Mac OS X computer, type ____ in the Command Prompt window.

A) keytool.exe
B) keytool -list -keystore ~/.android/debug.keystore
C) keytool.exe -list -alias
D) cmd keytool
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Setting the application's properties to select the Google APIs add-on as the build target allows the ____________________ Manager to use the new Google API package.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
A map marker, or ____, uses a graphic image to indicate a specific location on a map folder.

A) class
C) overlay
B) bin
D) map
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
When an OverlayItem is created, it must have a GeoPoint location, a String title, and a(n) ____ snippet before the populate( ) method can call the item.

A) GeoPoint
C) String
B) Layout
D) Overlay
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
The ____________________ property allows the site visitor to use the built-in zoom feature.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
A(n) ____________________ is a value included as part of a file to verify the integrity of the file.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
The URL of the Web site where users can sign up for a Google Maps API key is http ://____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
The program to manage security files on the Mac is called ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
To display the Google Maps in your Activity, you must use the ____________________ element in your code.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
The XML property in the MapView class that provides the API key to the class is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
You can use ____________________ to prevent malicious outside applications from corrupting data and accessing sensitive information.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
The XML code to allow an app to access to the Internet is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
A unique Google Maps ____________________ is a long string of seemingly random alphanumeric characters.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
The Android installed environment contains a file, or debug certificate named ____________________, which contains a unique identification.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.