Postioning API (Qt 5.2 RC1) has no Android backend?
-
Someone can confirm/confute that? If that so, how we can work with GPS from Qt 5.1/5.2 application?
I did several test on real Android device using both C++ and QML API: QGeoPositionInfoSource (C++)/PositionSource (QML) always report no supported positioning methods.
-
Hi,
There is no Android support for Qt Positioning yet. The creator of the Android port is planning to have it included in Qt 5.3: http://www.kdab.com/qt-on-android-episode-1/
-
[quote author="JKSH" date="1386725888"]Hi,
There is no Android support for Qt Positioning yet. The creator of the Android port is planning to have it included in Qt 5.3: http://www.kdab.com/qt-on-android-episode-1/[/quote]
Thanks for reply. I wondering, why those support status tables not included in official documentation. So in 5.2 Positioning API don't work on Android. Is there other ways to use GPS in Qt 5.2 - Android application?
-
I'm not sure, sorry. If you can call Android API functions, I'd imagine it should be doable.
Have a look at Qt Android Extras, which lets you call Android Java code: http://qt-project.org/doc/qt-5/qtandroidextras-index.html
-
GPS support for Android is scheduled for Qt 5.3: http://qt-project.org/wiki/New-Features-in-Qt-5.3