In QML you should use PositionSource element. Check it’s ”start()” and ”stop()” 
methods.

//bob

On 01 Jan 2014, at 01:05, Caliste Damien <dcali...@free.fr> wrote:

> Hello,
> 
>   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
> capability.
> 
>   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 !
> 
> Damien.
> _______________________________________________
> SailfishOS.org Devel mailing list

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to