I had written a simple Activity to test presence of Geocoder, calling Geocoder.isPresent() always returns false.
Class:
public class LocationTestActi
Actually the Geocoder need a Service running in the background by the framework.
From the documentation:
The Geocoder query methods will return an empty list if there no backend service in the platform. Use the isPresent() method to determine whether a Geocoder implementation exists.
so if we look at the documentation of isPresent(), it states.
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.
Note: keep in mind that isPresent() is not available in Pre-Api 9 plateforms.