question: void sendLocationUpdate ( Location location ) { if ( location == null ) { return ; } XmppMsg msg = new XmppMsg ( ) ; if ( _settingsManager . useGoogleMapUrl ) { msg . appendLine ( "http://maps.google.com/maps?q=" + location . getLatitude ( ) + "," + location . getLongitude ( ) ) ; } if ( _settingsManager . useOpenStreetMapUrl ) { msg . appendLine ( "http://www.openstreetmap.org/?mlat=" + location . getLatitude ( ) + "&mlon=" + location . getLongitude ( ) + "&zoom=14&layers=M" ) ; } msg . appendLine ( getString ( R . string . chat_geo_accuracy , location . getAccuracy ( ) ) ) ; msg . appendLine ( getString ( R . string . chat_geo_altitude , location . getAltitude ( ) ) ) ; msg . appendLine ( getString ( R . string . chat_geo_speed , location . getSpeed ( ) ) ) ; msg . appendLine ( getString ( R . string . chat_geo_provider , location . getProvider ( ) ) ) ; send ( msg ) ; }
target:  Sends the location to the user.