title: generate random locations nearby my location
body: <p>I would like to generate random latitude/longitude pairs inside the circle surrounding my location.</p>
  
  <p>Currently i have implemented a location listener and everytime i get a new location i would like to draw random locations nearby me.</p>
  
  <p>I am able to compute distance between 2 already existing locations and know if its inside my range:</p>
  
  <pre><code>public List&lt;Location&gt; filter(Location current, List&lt;Location&gt; locations, int radius) {
      List&lt;Location&gt; results = new ArrayList&lt;Location&gt;();
      for (Location loc : locations) {
          if (current.distanceTo(loc) &lt;= radius) {
              results.add(loc);
          }
      }
      return results;
  }
  </code></pre>
  
  <p>But really, i cant find how to generate locations inside my range.</p>
  
  <p>Any help here? Thank you very much.</p>