Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can I get this GPS data?
Forum Updated to NodeBB v4.3 + New Features

Can I get this GPS data?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 469 Views 2 Watching
  • 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.
  • J Offline
    J Offline
    jayy
    wrote on last edited by jayy
    #1

    Hello,
    i'm developing android app by using QT.
    Almost all GPS data that matched with Android Location Manager API were found,
    but 3 data still not. (i used Qt Positioning.)

    https://developer.android.com/reference/android/location/Location

    Here those are.

    1. getElapsedRealtimeNanos
    2. getSpeedAccuracyMetersPerSecond
    3. getBearingAccuracyDegrees (maybe azimuth in QT.)

    How can i get those data?
    Are those provided in QT?

    Thank for help :)

    K 1 Reply Last reply
    0
    • J jayy

      Hello,
      i'm developing android app by using QT.
      Almost all GPS data that matched with Android Location Manager API were found,
      but 3 data still not. (i used Qt Positioning.)

      https://developer.android.com/reference/android/location/Location

      Here those are.

      1. getElapsedRealtimeNanos
      2. getSpeedAccuracyMetersPerSecond
      3. getBearingAccuracyDegrees (maybe azimuth in QT.)

      How can i get those data?
      Are those provided in QT?

      Thank for help :)

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @jayy

      Hi and welcome to devnet forum

      What you mean?
      Do you have implemented an interface to access java class https://developer.android.com/reference/android/location/Location but some of the content is missing?
      AFAIK that might be dependend on the actual Android device respectively its implementation you are using.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      1
      • J Offline
        J Offline
        jayy
        wrote on last edited by
        #3

        @koahnig
        Thanks to replying.

        Here are some example.

        [Java (Location) -> QT]
        getAltitude -> QGeoCoordinate::altitude()
        getBearing -> QGeoCoordinate::azimuthTo()
        getTime -> QGeoPositionInfo::timestamp()

        ...and more...

        i need...

        getElapsedRealtimeNanos -> ?
        getSpeedAccuracyMetersPerSecond -> ?
        getBearingAccuracyDegrees -> ?

        hope you understanding my question! thanks.

        K 1 Reply Last reply
        0
        • J jayy

          @koahnig
          Thanks to replying.

          Here are some example.

          [Java (Location) -> QT]
          getAltitude -> QGeoCoordinate::altitude()
          getBearing -> QGeoCoordinate::azimuthTo()
          getTime -> QGeoPositionInfo::timestamp()

          ...and more...

          i need...

          getElapsedRealtimeNanos -> ?
          getSpeedAccuracyMetersPerSecond -> ?
          getBearingAccuracyDegrees -> ?

          hope you understanding my question! thanks.

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @jayy

          I never used those classes. You may have to dig deeper and go for the direct combination with java to c++ interfaces as done in example in https://doc.qt.io/qt-5/qtpositioning-satelliteinfo-example.html

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved