Qt - Android PositionSource
-
Hi,
I am trying to run simple program, which should display my actual position. It works, but it takes 20 seconds to update position. Is there a way to make it faster?
@import QtQuick 2.3
import QtQuick.Controls 1.2
import QtPositioning 5.3ApplicationWindow {
visible: true
width: 640
height: 480PositionSource { id: src updateInterval: 1200 active: true onPositionChanged: { var coord = src.position.coordinate; console.log("Coordinate:", coord.longitude, coord.latitude); longitude.text = coord.longitude latitude.text = coord.latitude } } Timer { property int counter: 0 running: true interval: 1000 repeat: true onTriggered: { console.log(counter++) } } Text { id: longitude } Text { id: latitude anchors.top: longitude.bottom }
}
@Thanks in advance