Garmin Forums
Site
Search
User
Site
Search
User
Apps & Software
Outdoor Recreation
Sports & Fitness
Pilots
Developer
Beta Program
German Forum
More
Cancel
Developer
Connect IQ
Connect IQ App Development Discussion
5 seconds to get location?
News & Announcements
Forums
Bug Reports
Wiki
Tags
More
Cancel
Replies
3 replies
Subscribers
18 subscribers
Views
453 views
Users
0 members are here
Options
Share
More
Cancel
Related
5 seconds to get location?
dpawlyk
over 7 years ago
It seems to take quite a while to get the location in an app even after GPS is acquired.
Like about 5-6 seconds on a 1030.
Is that normal?
I'm using the following call:
Position.enableLocationEvents(Position.LOCATION_ONE_SHOT, method(:onPosition));
jim_m_58
over 7 years ago
Actually, that's fast. But if you are doing ONE_SHOT, be sure and check the accuracy, as it could be "LAST_KNOWN", meaning it's not a new fix.
What I do is I use CONTINUOUS, and then in onPostion, turn off GPS once there is new accuracy (maybe POOR or USABLE and above)
depending on things like how current the EPO data is and your specific location, it can take up to a few minutes on some devices.
Cancel
Up
0
Down
Sign in to reply
Cancel
dpawlyk
over 7 years ago
I could see it taking longer in some cases but it seems never to be faster than 5-6 seconds.
And that's for a "good" location.
Cancel
Up
0
Down
Sign in to reply
Cancel
jim_m_58
over 7 years ago
Like I said, 5-6 seconds is fast. I don't recall ever seeing it noticeably faster than that, but I've it it take much longer. And you'll only see it change once a second after that,
Cancel
Up
0
Down
Sign in to reply
Cancel