Hello,
  I have a program that shows where the user is at, and if the
provider is more accurate than the previous location I have, then it
will recalculate the route for the user, and it shows the current
location of the user on the map.

  This works fine except when there must be some inaccuracy from the
GPS, so I noticed that my marker would jump to another street, then
back to the correct location.

  I also noticed that if the GPS signal is lost then reacquired, it is
possible for the GPS to give a slightly off location which will mess
up the route the user should take.

  I am not certain the best way to handle this.  I added having it
recalculate the route when a better provider is used, as a person may
go to a mall, shop, come out a different entrance, then continue to
their goal.  So, the location they went in and came out is different,
since their friend picked them up from the other entrance.

I actually did this due to my starting my program in the house, using
WiFi for location, then when the GPS starts outside, I want better
information.

I do know the most previous location and the current location so I
could look for big changes, but if the change is to go from the
location on one street to a similar location but on the next street
then looking for any big change won't work since the straight-line
distance is short.

Thank you.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to