麻烦看看有什么不对的吗?MKLocationManager mkLocationManager = (MKLocationManager) Location.this.getSystemService(Context.LOCATION_SERVICE);


mkLocationManager.requestLocationUpdates(new LocationListener() { @Override
public void onLocationChanged(android.location.Location arg0) {
// TODO Auto-generated method stub
if (arg0 != null) {
System.out.println("进入定位系统!");
System.out.println(arg0.getLatitude());
System.out.println(arg0.getLongitude());
System.out.println("导航结束!!!!!!");
GeoPoint pt = new GeoPoint(
(int) (arg0.getLatitude() * 1e6),
(int) (arg0.getLongitude() * 1e6));
mapView.getController().animateTo(pt);
}else{
Toast.makeText(getApplication(), "你的!", 2000).show();

}
}
});