Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: How ?

in: Jagge; Jagge > 2012-01-25

Jan 25, 2012 10:28 PM # 
andzs:
How it works ? On tracking phone some webpage which contains javascript code gets opened, javascript periodically gets info from GeoLocation object and time to time sends info to serverside script ?
Advertisement  
Jan 26, 2012 6:08 AM # 
Jagge:
right.
Jan 26, 2012 11:30 PM # 
andzs:
Nice
Jan 27, 2012 7:38 AM # 
Jagge:
Now it gets point every 3rd second and sends those points using ajax to server every 40 seconds. Longish delay but less contacts with server like this. written years ago by jankoc, I am just testing here, and tweaking it a little to make sure it works on N9. It now seems to work fine on it and s60 too (and should work on androids and even iphones somehow) so I'll think I'll tweak it to put data to a form field instead of sending it to server, so at the end of session user can post session data to AP. Sort of gps logger page. It may not be as robust as the python app on s60, but better than nothing and no need to install anything more than possibly compatible browser.

This discussion thread is closed.