Integrating Google Maps in Android

This is my third article in sequence. I have used same Code base which i’ve been using. Added one more menu for maps

Adding maps to Android requires that your application Android Target is set to GoogleAPI’s(These contain Google map addon’s) Rather than Android version one’s

Remember : Adding Maps.jar externally to target will not work at runtime so always change Build Target to Google Addon’s

Create a Virtual Device for your version tergetting Google API’s

Now once the above steps are completed you need to follow the below steps

  1. 1. Either use debug.keystore or create keystore certificate using android tools(Debug.keystore is located in “C:\Documents and Settings\\.android” Directory.
  2. Now generate MD5 using keytool command of java
  3. Generate Google API key using this MD5

Finally build your application and Run in debug mode (As debug mode automatically sign’s you application using debug.keystore which we configured for maps

Remember to add <uses-library android:name=”com.google.android.maps” /> inside application tag else system will exit with some errors

Attached is the AndroidLessions with new Demo added for google maps. (Rename to .zip to extract eclipse project)
You can learn about more features in google maps from Android website
AndroidLessons(Rename to .zip to extract eclipse project)

Advertisements

8 thoughts on “Integrating Google Maps in Android

  1. I will right away snatch your rss as I can not find your email subscription link or newsletter service.
    Do you’ve any? Kindly allow me recognise in order that I could subscribe. Thanks.

  2. Terrific work! This is the kind of information that are meant to be shared around the internet.
    Shame on Google for not positioning this post higher!
    Come on over and discuss with my site . Thanks =)
    Am HUNTER in Grand Prairie

  3. Have you ever considered about adding a little bit more than just your articles?

    I mean, what you say

    is valuable and all. Nevertheless think of if you added some great graphics or videos
    to give your posts more,

    “pop”! Your content is excellent but with images and video clips, this
    website could

    undeniably be one of the best in its niche. Terrific blog!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s