Ask for location from the same place but I get different addresses

  • Replies:1
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Nov 1, 2014 12:22:50 PM via Website


I'm standing near the window of my house which is on street X. I ask for GPS location using the location manager and then I use the geocoder class to get the street I'm on.

The first try gives me the street near the street I'm on. The second try, gives me the exact street including the building number. I'm standing in the same place but the lat/long are different. I'm using only the GPS to receive my location.

Any idea for the reason of this discrepancy and how can I make it more accurate? Does it mean I have to call the GPS twice? sometimes I do receive the correct address on the first try.


— modified on Nov 1, 2014 12:23:20 PM

  • Forum posts: 118

Nov 7, 2014 11:08:45 AM via Website

Enable and use WiFi as well. It gives you a far more accurate location than just using GPS only and could give you an accurate location straight away. You could create an algorithm to generate a list of x amount of latlng locations and try to pin point a more accurate location.