[SailfishDevel] How to activate GPS on device
sailfish at jelica.se
Wed Jan 1 11:59:36 UTC 2014
In QML you should use PositionSource element. Check it’s ”start()” and ”stop()” methods.
On 01 Jan 2014, at 01:05, Caliste Damien <dcaliste at free.fr> wrote:
> Now that I received my device, I can test Mæp for real. That's great.
> It's an app that uses the GPS. If Jolla's map app is running the
> GPS is activated and my application can use it also (I use
> QtPositioning in C++, the QGeoPositioningInfoSource class), it works
> well. But if the map app is not runing, my app is not seeing any GPS
> So my question, what is the way on the device to activate the GPS
> (and deactivate it when not necessary anymore) ? I thought that it was
> possible through the GPS entry of the setting app, but it seems not. Is
> there a way to do it through C++ like on Maemo 5 ?
> Thanks and happy new year !
> SailfishOS.org Devel mailing list
More information about the Devel