Nominate our 2022 Qt Champions!

GPS on Android



  • Trying to use GPS on an Android device, it seems the

    positionUpdated()
    

    signal of the QGeoPositionInfoSource class is never called, even if the GPS correctly start and i see the GPS getting a good FIX on the device...

    The slot is correctly connected but never called (and i set also the update interval to the minimum update interval value)



  • I fixed it adding a QTimer which, every minimum update interval, calls requestUpdate() manually. It might not be pretty, but it works.


Log in to reply