0

i am fetching my current location lat-long using android used location api after every 30 sec but lat-long get changed every time even when i am at the same position.

So please tell me how resolve this issue i wanna get accurate location and same same location if i am at the same position.

Edward Collins
  • 353
  • 3
  • 13

1 Answers1

0

This is related to the fact that the received position change (even if very little) as a function of all the factors that influence the sending of GPS signals. You can obviate this drawback by introducing a tolerance factor of the measurement such as whether the coordinates fall within a area of 30 m the position is the same.

Make sure that your program takes into account not only the position of the four or five final numbers that change constantly.

ScaisEdge
  • 131,976
  • 10
  • 91
  • 107