Unsolved Can I get this GPS data?
-
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.
- getElapsedRealtimeNanos
- getSpeedAccuracyMetersPerSecond
- getBearingAccuracyDegrees (maybe azimuth in QT.)
How can i get those data?
Are those provided in QT?Thank for help :)
-
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. -
@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.
-
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