Hi Maxim,

Am I right in the assumption that this only happens during startup or does it 
happen during the normal position update cycle as well?


I am not sure whether or how we can fix this. It seems the Java thread startup 
which creates the Looper and message handler somehow freezes the Qt thread. The 
whole point of the Java thread was to not affect the Qt thread....


--

Alex


________________________________
From: Interest 
<interest-bounces+alexander.blasche=theqtcompany....@qt-project.org> on behalf 
of Maxim Bescherevnykh <maxim.bescherevn...@gmail.com>
Sent: Friday, April 1, 2016 10:16
To: interest@qt-project.org
Subject: [Interest] QtPositioning high delay on 
QGeoPositionInfoSource::startUpdates

QGeoPositionInfoSource::startUpdates startup time vary in high range 2 ms ~ 
10000 ms sometimes there is very high delays that freeze UI:

"Looper Thread startup time in ms: 1189"
"Looper Thread startup time in ms: 20"
"Looper Thread startup time in ms: 8189"
...
values from Android device (Nexus 5)

Is there way to reduce those delays or only solution is to move 
QGeoPositionInfoSource in separate thread?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to