title: "The constructor Geocoder(Context, Locale) is undefined"?
body: <p>I am making an android app, and need to use Google maps' reverse geocoding. The relevant code is:</p>
  
  <pre><code>  Geocoder geoCoder = new Geocoder(getApplicationContext(), Locale.getDefault());
    List&lt;Address&gt; matches = geoCoder.getFromLocation(latitude, longitude, 1);
    // latitude and longitude are double variables containing the coordinates.
  </code></pre>
  
  <p>On the first line of the code above I am getting the compiling error: </p>
  
  <p><code>"The constructor Geocoder(Context, Locale) is undefined"</code></p>
  
  <p>I tried googling but could not find a resolution. Thanks.</p>