Good day all!
I've got a simple Latitude application written in Visual Basic, whose job it is to poll Latitude for my location and determine how far I am from home. The polling period is normally 5 minutes, but it can go down to 90 seconds if the application determines that I'm "moving" (the exact definition of "moving" is somewhat unique, but irrelevant here).
The problem I'm having is that the API is returning the most recent location every 10 minutes or so, however if I check my Location History in a web browser I can see that my phone is updating my location multiple times a minute.
For example, my phone will update Latitude as follows:
12:00
12:01
12:02
12:03
...
12:10
When my application requests the current location at 12:00, 12:05 and 12:10, it only ever sees the 12:00 and 12:10 location updates.
I can't recall when this problem started happening; I do know that, once upon a time, I could get an updated location every 5 minutes or less - ie, whenever my application polled the Latitude API.
I've thought that caching may be part of the problem, so I've added a "cache-breaker" to my Latitude poll request:
This has not resolved the problem. I've also tried revoking access to my application from within my Google account and then re-authorizing, but the problem still exists.
This is very hard to debug as, generally speaking, I can't change my location while debugging the program.
Does anybody know if Google restricts the polling frequency? I know that Google allows 1,000,000 requests/day from the application and 1 request/user/minute. But I'm not even close to hitting those limits.
Thanks in advance!