170 likes | 403 Views
Hello Google Maps. Google Map View. 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. Google Maps library . Property Setting.
E N D
Hello Google Maps Google Map View
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
Obtaining a Maps API Key • http://code.google.com/android/add-ons/google-apis/mapkey.html
Step 3: Access to the Internet • Must request internet permission. • In the manifest file, add the following as a child of the <manifest> element:
Step 4:Give the map some more space getting rid of the title bar with the "NoTitleBar" theme
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
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.)