Unable to parse response from server
不能用wifi,用3g
3G好像有时也不行。。。郁闷了。。。
不行
http://muzilihao.iteye.com/blog/1459137
[url]publicstaticGeoPointgetLatLong(JSONObjectjsonObject){
Doublelon=newDouble(0);
Doublelat=newDouble(0);
try{
lon=((JSONArray)jsonObject.get("results")).getJSONObject(0)
.getJSONObject("geometry").getJSONObject("location")
.getDouble("lng");
lat=((JSONArray)jsonObject.get("results")).getJSONObject(0)
.getJSONObject("geometry").getJSONObject("location")
.getDouble("lat");
}catch(Exceptione){
e.printStackTrace();
}
returnnewGeoPoint((int)(lat*1E6),(int)(lon*1E6));
}
[/url]
相关推荐
qual0 2020-01-18
Kshine0 2011-03-15
xiaoxiaodedu 2019-11-02
88266432 2016-04-15
bobljm 2015-06-28
HelloJohn 2013-07-23
moji0 2011-10-09
alonemap 2013-02-26
iseeip 2010-06-12
阿蒙 2010-05-07
hotflyvip 2010-02-08
湖南鸟巢专利孵化 2011-11-01
lendalscut 2009-06-27
zhencheng0000 2014-09-26
mxma 2014-07-02
beifenggo 2014-06-09
beifenggo 2014-06-03