AeroDoc demo sets the latitude and longitude, but not the location.
It would be good if we could update the app to set the location with the locality to that correspond to those coordinates.
{code} Geocoder geocoder = new Geocoder(this, Locale.getDefault()); try { List<Address> addresses = geocoder.getFromLocation(location.getLatitude(), location.getLongitude(), 1); saleAgent.setLocation(addresses.get(0).getLocality()); } catch (IOException e) {
} {code} |
|