Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Prompt user to turn on GPS
GoodMorninSunshine last edited by
I want to use the GPS capability in an Android phone for my app. The app works fine if the phone GPS is switched on, but if the GPS module is switched off I want to prompt the user to turn on the GPS satellites.
- How can I read whether the phone GPS is turned on or off? The QGeoPositionInfoSource doesnt have a method for this?
Thanks for the help.
Gianluca last edited by
Try to add to the AndroidManifest.xml the use-feature for forcing your app to working only if GPS is on.