08 2012 档案

摘要:在模拟器上获取GPS信息时,使用Locationloc=LocationManager.getLastKnownLocation("gps");来获取location信息,但是往往在调试中loc是null的,因为首先需要在模拟器中手动添加GPS信息,有两种手动添加方法1、在eclipse下,windows-->openperspective-->DDMS-->Emulatorcontrol-->Manual下手动设置经纬度,并按send按钮。2、在cmd下手动添加信息。(1)首先打开模拟器,然后运行cmd,输入telnetlocalhost5554( 阅读全文
posted @ 2012-08-25 00:04 M' 阅读(429) 评论(0) 推荐(0) 编辑
摘要:this template depends on the android support library,which is either not installed,or the template depends on a more recent version than the one you have installed。 Required version :8 更新了Eclipse juno和ADT_20遇到这个问题,在SDK Manager里删了Extras的Android Support Library支持包,再在Eclipse新建项目时点Install就可以了。 阅读全文
posted @ 2012-08-24 16:01 M' 阅读(1066) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示