Download
hello google maps n.
Skip this Video
Loading SlideShow in 5 Seconds..
Hello Google Maps PowerPoint Presentation
Download Presentation
Hello Google Maps

Hello Google Maps

202 Views Download Presentation
Download Presentation

Hello Google Maps

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Hello Google Maps Google Map View

  2. Before Programming • Install • Google Maps library installed in your SDK environment • After install • Set your project properties to use the build target called "Google APIs by Google Inc.“ • Obtaining a Maps API Key

  3. Google Maps library 

  4. Property Setting

  5. Obtaining a Maps API Key • http://code.google.com/android/add-ons/google-apis/mapkey.html

  6. Programming

  7. Step 1: Start a new project named HelloGoogleMaps.

  8. Step 2: Declare Maps library in the Android Manifest

  9. Step 3: Access to the Internet • Must request internet permission. • In the manifest file, add the following as a child of the <manifest> element:

  10. Step 4:Give the map some more space getting rid of the title bar with the "NoTitleBar" theme

  11. Step 5:Set MapView layout

  12. Step 6: Coding Using MapActivity This method is required for some accounting from the Maps service to see if you're currently displaying any route information. In this case, you're not, so return false. Simple zoom feature is built-in

  13. Step 7: Run it • Remember, you must have an AVD configured to use the Google APIs target, or be using a development device that includes the Maps library.)