title: Android: Why does a new instance of Location require a provider?
body: <p>I have a lot of geo data stored online with latitude and longitude and I'd like to use the distanceTo method instead of my own haversine formula.</p>
  
  <p>So I need to put each record into a Location field, but here's my question: it requires a "provider" string.  Why?  What will Android do with that information?</p>
  
  <pre><code>    for (ArrayList&lt;String&gt; item : Places_Data) {
          Location itemloc = new Location("provider");
          itemloc.setLatitude(latIn);
          itemloc.setLongitude(lonIn);
          //do something with my new location
      }
  </code></pre>