I would like to know if there is a way in B4A to get the geocode for a postal address and then assign it a unique number. If this can be done, please show me the coding needed to obtain the geocode and unique number.
I assume it would need to go out to a web site and get the geocode from there or use the Google Map API in some way.
Thanks.
Once you have obtained coordinates, call the Google Geocoding API web service.
You will need to pass parameters latlng (latitude/longitude) and sensor=true to receive a result. Other parameters can be included to filter results (http://code.google.com/apis/maps/documentation/geocoding/#GeocodingRequests)
An example call would be http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true
Once you get a JSON response you can use the B4A JSON library to extract the data you require