摘要:
1.首先找到debug keystore路径:打开Eclipse--->Windows--->Preferences--->Android--->Build一般是这样的路径 C:\Users\Administrator\.android\debug.keystore2、在cmd执行命令:1)、打开cmd控制台2)、导航到jdk的bin目录 cd D:\dev\java\jdk1.6.0_12\bin d:3)、执行获取认证指纹命令: keytool -list -alias androiddebugkey -keystore "C:\Users\Adminis 阅读全文
posted @ 2011-11-01 17:44
Ruthless
阅读(4229)
评论(5)
推荐(1)
摘要:
一、LocationManagerLocationMangager,位置管理器。要想操作定位相关设备,必须先定义个LocationManager。我们可以通过如下代码创建LocationManger对象。LocationManger locationManager=(LocationManager)this.getSystemService(Context.LOCATION_SERVICE); 二、LocationListenerLocationListener,位置监听,监听位置变化,监听设备开关与状态。 private LocationListener locationLis... 阅读全文
posted @ 2011-11-01 16:23
Ruthless
阅读(60480)
评论(7)
推荐(9)
浙公网安备 33010602011771号