百度mapAPI使用系列1-准备工作

百度地图API使用系列1-准备工作

命令行得到SHA1 指令

 

win+R


百度mapAPI使用系列1-准备工作


cmd

百度mapAPI使用系列1-准备工作


输入 

cd .android

百度mapAPI使用系列1-准备工作


输入

keytool -list -v -keystore debug.keystore

百度mapAPI使用系列1-准备工作


输入

android

输入密钥库口令就是 android 这里注意的就是在输入的时候是不回显的输入完直接回车即可百度mapAPI使用系列1-准备工作


会显示好多指令

百度地图使用到SHA1

 

注意使用Eclipse 开发的可以直接在Eclipse里面得到这个


百度mapAPI使用系列1-准备工作


百度mapAPI使用系列1-准备工作


百度mapAPI使用系列1-准备工作


百度mapAPI使用系列1-准备工作


百度mapAPI使用系列1-准备工作


申请 开发者key

 

登陆

http://developer.baidu.com/map/

 

前提是有百度开发者账号没有就先去注册吧!!!!


百度mapAPI使用系列1-准备工作


百度mapAPI使用系列1-准备工作


百度mapAPI使用系列1-准备工作


SHA1 上面已经得到

 

使用 SHA1 + ";" + 包名  作为  安全码  

这里注意一下就是 包名最好是到应用的清单文件当中是拷贝

还有就是 中间的那个 ";"  不要忘了


百度mapAPI使用系列1-准备工作


好了  到现在为止 我们的准备工作就做完了!!!后面我们开始百度地图的应用了!!!