title: What does each Android's location.Address method return?
body: <p>I am trying to figure out exactly how to get address component with the Android SDK with the class android.location.Address.</p>
  
  <p>Some of the methods are very straightforward, other are easily understood with the examples in the <a href="http://developer.android.com/reference/android/location/Address.html">documentation</a>, but some of them are completely unclear to me. Either because there's no example in the documentation or because the example refers to the US, which does not have the same political organization as other countries may have.</p>
  
  <p>I've been looking for their meaning, but most of tutorials on the web simply use the method <code>getAddressLine(int index)</code> to teach and then it is up to the developer to learn the rest.</p>
  
  <ul>
  <li><code>getAdminArea()</code>: returns the state acronym ("CA", for California)</li>
  <li><code>getCountryCode()</code>: returns the country ISO code ("JP", for Japan)</li>
  <li><code>getCountryName()</code>: returns country name ("Spain", for... Spain)</li>
  <li><code>getFeatureName()</code>: returns the name of the location, if any ("Louvre", for the museum)</li>
  <li><code>getLocality()</code>: returns the city name ("London")</li>
  <li><code>getPostalCode()</code>: returns the postal code ("94110", in the US)</li>
  <li><code>getPremises()</code>: ???</li>
  <li><code>getSubAdminArea()</code>: ???</li>
  <li><code>getSubLocality()</code>: ???</li>
  <li><code>getSubThoroughfare()</code>: ???</li>
  <li><code>getThoroughfare()</code>: returns the street and building number ("1600 Amphitheater Parkway")</li>
  </ul>
  
  <p>My question is what all of these methods return (and examples, if possible).</p>
  
  <p>Also, I'd like to know how to get the building number and street name separately. Parsing the Thoroughfare string does not seem to be that hard, but taking account that in some countries the number comes before the street, while other comes after, what is the best way to parse the text?</p>