Android Google Map实例 - MD5 、Google Map API Key获取(Android mapview)

Android Google Maps Application

  • Google Maps应用需要注册免费的Google Map API Key
  • 注册Google Map API KeTo 需要提供 the certificate’s fingerprint (MD5).

To get certificate fingerprint (MD5) follow the simple steps below:

  • 用keystore 文件获取 for getting the certificate fingerprint (MD5).
  • 找到keystore 文件
  • "C:/Documents and Settings/<username>/Local Settings/Application Data/Android "

    (Or)

    "C:/Documents and Settings/<username>/.android "

  • Keystore file name is "debug.keystore " file.
  • 找到 keytool  一般在c:/Proram Files/Java/jdk1.6.0.24/bin/ 下

  • 在cmd中输入类似下面的语句即可得到MD5 : keytool.exe -list -alias androiddebugkey -keystore “D:/AndroidKeystore/debug.keystore” -storepass android -keypass android

    getmd5certificate

然后访问 : http://code.google.com/intl/zh-CN/android/maps-api-signup.html

After clicking the Generate API Key Button , you will get Google Map API Key (red circled).

getxmlcodeformap

即可得到Google Map API Key

 

原文: http://www.androidpeople.com/android-google-map-application-example/

posted on 2011-12-02 16:30  ITBoB  阅读(218)  评论(0编辑  收藏  举报

导航