Location service: upload GPS fixes to webservice

With this Subsurface-mobile should be able to mostly replace the companion
app. This needs some more testing and fine tuning (for example the minimum
time / distance should be configurable, there should be a location name),
but I think the hard part is done now.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-13 17:21:43 -08:00
parent 577da54454
commit 7afed04520
4 changed files with 85 additions and 3 deletions

View file

@ -158,6 +158,11 @@ void QMLManager::applyGpsData()
locationProvider->applyLocations();
}
void QMLManager::sendGpsData()
{
locationProvider->uploadToServer();
}
void QMLManager::clearGpsData()
{
locationProvider->clearGpsData();