title: how to get nearest location to given latitude-longitude?
body: <p>I want to develop a location based app.</p>
  
  <p>Requirement: user inserts data(lat-long) and it is stored in SQLite. When user reach at that location he/she will get an alert. I want to define some area(e.g. 1 km) near to this location.
  If user is in 1 km circle of this location then he/she get an alert.</p>
  
  <p>I know how to use location listener but do not have idea to fix this area of circle.</p>
  
  <p>I looked at <a href="https://stackoverflow.com/questions/3695224/android-sqlite-getting-nearest-locations-with-latitude-and-longitude">this</a> but no idea how to use it.</p>
  
  <p>Anybody can suggest me ? Thanks </p>