Hello developers,
i wrote a simple class to obtain the full address (if available) from a given Latitude and Longitude location.
The address, along other more or less useful info, is obtained from the online nominatim server that makes use of the OpenStreetMap.
The pros is that it doesn't require any key or registration ,
the cons is that it doesn't allow a massive usage, see their policy
The class tries to comply to their policy but can be improved, for example caching results and use cached results when possible.
Feel free to improve it!
the class doesn't require any special Android permission.
Find attached a fully working project with the class inside.
Enjoy
Davide
i wrote a simple class to obtain the full address (if available) from a given Latitude and Longitude location.
The address, along other more or less useful info, is obtained from the online nominatim server that makes use of the OpenStreetMap.
The pros is that it doesn't require any key or registration ,
the cons is that it doesn't allow a massive usage, see their policy
The class tries to comply to their policy but can be improved, for example caching results and use cached results when possible.
Feel free to improve it!
the class doesn't require any special Android permission.
Find attached a fully working project with the class inside.
Enjoy
Davide