based on the documentation ofisPresent
method of Geocoder
class:
Returns true if the Geocoder methods getFromLocation and getFromLocationName are implemented. Lack of network connectivity may still cause these methods to return null or empty lists.
The Geocoder class requires a backend service that is not included in the core android framework
- what does it mean. doesn't Android itself implement those two methods? if not, so who is going to implement them?!!!
- and what if the method returned
false
, however the device was connected to the internet? what should I do so that I can use those two methods in such situation?