Monday, June 25, 2012

How to start using google map API in android programming projects

Google map api is very impportant tool which we can use in our project.For the beginners it is quite important to know some of the terms and things which is important before starting Api .

Firstly ,before we use API in our programme we must have the API key.so we must generate the API key in the beginning and we should submit it to the google.after then it gives us some code which we should paste in our programme and we can get the nice google map in our screen.

STEPS FOR GENERATING KEY:


1.  first go to the command prompt.
2 <C:\program files \java \jdk1.6.0_21\bin> keytool -list -alias androiddebugkey -keystore debug.keystore
        -storepass android -keypass android
          note:  jdk1.6.0_21 is the jdk version installed in my computer ,you may have another one so be                      
                    careful .First check in your computer at the location C:\program files\java
  










3.Then the MD5 fingerprint code is generated.But if your jdk version is 1.7 then MD5 fingerprint is not generated but we need MD5 so put -v behind list to get the MD5 code


4 Then go to the Android Maps API Key Signup page enter the md5 fingerprint provided .Then the site will generate the code .place this code in your program to get the google map view.
       

1 comment:

  1. Truly it is very nice to read this kind of blogs, you really share interesting post. Thanks for posting…
    packing and moving bhilai.

    ReplyDelete