java吧 关注:1,271,278贴子:12,778,634
  • 4回复贴,共1

现在有人么?有的话帮个忙,看一下以下语句是什么意思

只看楼主收藏回复



IP属地:北京1楼2013-05-25 00:24回复

    public class MyLocationListenner implements BDLocationListener {
    @Override
    public void onReceiveLocation(BDLocation location) {
    if (location == null)
    return;
    locData.latitude = location.getLatitude();
    locData.longitude = location.getLongitude();
    locData.accuracy = location.getRadius();
    locData.direction = location.getDerect();
    myLocationOverlay.setData(locData);
    mMapView.refresh();
    mMapController
    .animateTo(new GeoPoint((int) (locData.latitude * 1e6),
    (int) (locData.longitude * 1e6)), mHandler
    .obtainMessage(1));
    refreshLocation(location);
    }
    public void onReceivePoi(BDLocation poiLocation) {
    if (poiLocation == null) {
    return;
    }
    }
    }
    public class NotifyLister extends BDNotifyListener {
    public void onNotify(BDLocation mlocation, float distance) {
    }
    }
    }


    IP属地:北京2楼2013-05-25 00:26
    回复
      2025-07-27 06:12:19
      广告
      不感兴趣
      开通SVIP免广告
      急急急!


      IP属地:北京3楼2013-05-25 00:27
      回复
        请大家帮个忙!


        IP属地:北京4楼2013-05-25 00:32
        回复
          找了半天找不到入口 从字面上看貌似一监听器?坐等大神!


          5楼2013-05-25 03:58
          回复