The document discusses Google's Map API for Android, which allows developers to integrate map functionality into their Android applications. It describes using MapActivity to handle map creation and loading, MapView to display maps, and MapController to navigate maps. Overlays can be used to display additional graphics on maps. Locations are specified using geo-URIs, and the PixelCalculator class can translate coordinates. Two example applications are described, one involving a geography guessing game and another combining maps with other APIs.
The document discusses Google's Map API for Android, which allows developers to integrate map functionality into their Android applications. It describes using MapActivity to handle map creation and loading, MapView to display maps, and MapController to navigate maps. Overlays can be used to display additional graphics on maps. Locations are specified using geo-URIs, and the PixelCalculator class can translate coordinates. Two example applications are described, one involving a geography guessing game and another combining maps with other APIs.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
The document discusses Google's Map API for Android, which allows developers to integrate map functionality into their Android applications. It describes using MapActivity to handle map creation and loading, MapView to display maps, and MapController to navigate maps. Overlays can be used to display additional graphics on maps. Locations are specified using geo-URIs, and the PixelCalculator class can translate coordinates. Two example applications are described, one involving a geography guessing game and another combining maps with other APIs.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
13/03/2008 Map API – Overview (1) • Map rendering facility on Android device
• Similar to Google Earth
• Integrate map functionality into an Android
application Using Maps (1) - General • MapActivity to handle creation, loading, streaming and event handling
• MapView to display a map as a component
• MapController to navigate between map
locations Using Maps (2) - Overlays • Overlays used to display additional graphics as layers on top of a map Using Maps (3) - Locations • Locations on a map specified using the geo- URI (Uniform Resource Identifier) standard – not fully supported
• Specify latitude and longitude as a Point,
translate this on map using the PixelCalculator class Example #1 – Map API • A game where the user is shown a map on screen and the user must guess the country
• Store the country names and coordinates as
well as zoom level in a database
• Different difficulty levels (number of
countries in multiple choice, zoom level) Example #2 – Map API+ • Use the Map API in conjunction with other APIs to increase program functionality
• Using Location and Media APIs, acquire
data on a location such as photos or videos (via RDF) and display them to the user References • Android Map Package Documentation