title: Geocoder doesn't work on some of the Android phones
body: <p>I am working on Android application which allows user to enter the address and converts to latitude and longitude for further use. I am using following code to get lat and long</p>
  
  <pre><code>          addresses = geocoder.getFromLocationName("11381 zapata ave san diego", 1);
  
          if (addresses.size() &gt; 0) {
              double latitude = addresses.get(0).getLatitude();
              double longitude = addresses.get(0).getLongitude();
  
              addGeoFence(latitude, longitude);
              tlFragmentMap.setLatLong(new LatLng(latitude, longitude));
              return true;
          } else {
              return false;
          }
  </code></pre>
  
  <p>This Geocoder works fine on some of the phones only. Can any one suggest me a way to make it work for all the phones. I don't want to use any API. My Compile SDK version is 22, minSdkVErsion is 14 and targetSdkVersion is 22 </p>