diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-13 17:21:43 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-13 17:21:43 -0800 |
commit | 7afed04520900906107774bb0d06f68dd142602e (patch) | |
tree | 3ab622544f5f7b9c7694c9f123f9d5ab6ccb8967 /qt-mobile/qml/main.qml | |
parent | 577da54454e83e448b3a9ba912b4ba58fa64d3ab (diff) | |
download | subsurface-7afed04520900906107774bb0d06f68dd142602e.tar.gz |
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>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r-- | qt-mobile/qml/main.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index d4b01cb33..f28a5795f 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -87,6 +87,13 @@ ApplicationWindow { } MenuItem { + text: "Send GPS data to server" + onTriggered: { + manager.sendGpsData(); + } + } + + MenuItem { text: "Clear stored GPS data" onTriggered: { manager.clearGpsData(); |