Your comments
You don't need to get the responses right away if you use an asynchronous model with callbacks or promises. At least that's what I'd use in the Javascript world. Not sure what you can or can't do in an Android app.
I would happily beta test this for you - but not until June 10 as I need to use the app heavily between now and then!
This would be a HUGE improvement over the 45+ minutes it took this morning.
I'm a web developer, not an Android developer.
I would probably handle the problem something like this in a web app
* Track the number of API calls made within the previous minute. Let this be numAPICalls
* When a user refreshes a database, build all the API calls necessary and drop them in a queue
* Send as many requests as you can (60 - numAPICalls) from the queue
* As requests complete, grab more requests from the queue and send them
* Continue until all the requests are completed.
My example of 4681 caches should be able to process in under 2 minutes. (60 calls per minute, 50 caches per call).
Would definitely be a lot faster!
Can you queue up the API calls at once and run them asynchronously instead of in sequence?
So my update today would have been 94 requests of 50 each.
Is the API rate-limited (requests per minute)?
Can you make the number of points an option? Every 1s seems to be too much, but at highway speed (100km/h), that's nearly 28m between points. But at walking speeds, in 1s, I'm only going to move a couple of meters.
I would suggest every 6 seconds if you can't make it an option. 10 points per minute. For most purposes, that should be reasonably accurate - I think...?
I like this idea. I'm concerned about battery consumption though. I use another app, A-GPS Tracker, when I need to make a track. The app is capable of running in the background while I'm using other apps. But this increases battery consumption dramatically. So, please, be cautious while implementing such a feature so that it doesn't kill my battery!
Customer support service by UserEcho
Sweet! Looking forward to trying it out...
Even more so if it's stable by the end of the day tomorrow!!! I'm going on a #GeocacheRoadTrip Friday morning. Should be up to 500 finds for a 3-day weekend