Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    GPS on Android

    Mobile and Embedded
    1
    2
    510
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gardiol last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • G
        gardiol last edited by gardiol

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post