title: How to get persian address
body: <p><b>Hello world!</b></p>
  
  <p>I'm trying to develop a app which it shows persian addresses based on latitude and longitude.
  How should I implement this ?</p>
  
  <p>I use GeoCoder class this way;</p>
  
  <pre><code> public String  getAddress(Context context ,double latitude , double longitude)
   {
      String fullAddress = null ;
      try {
          Geocoder geocode = new Geocoder(context, new Locale("fa"));
          List&lt;android.location.Address&gt; addresses = geocode.getFromLocation(latitude, longitude, 1);
          Address ad = addresses.get(0);
          fullAddress = ad.getAddressLine(0);
      }
      catch (IOException exc)
      {
          fullAddress =exc.getMessage();
          exc.printStackTrace();
      }
  
      return fullAddress;
  }
  </code></pre>
  
  <p>And here is what I get.</p>
  
  <pre><code> W/System.err: java.io.IOException: grpc failed
   W/System.err:     at android.location.Geocoder.getFromLocation(Geocoder.java:136)
  </code></pre>
  
  <p>The result doesn't change if I send Locale.getDefault() as Geocoder Ctor param</p>
  
  <p>What is wrong with this piece of code ?</p>
  
  <p><b>THANKS FOR YOUR ANSWERS</b></p>