I’ve made a speedometer application for general use. Sometimes I forget to turn on positioning and wonder for a moment why my app is not ready to run.
As per my question title; how do I programatically turn on positioning from within my app if not already started?
Also, I found a dead link in SFOS documentation on Positioning API;
https://github.com/sailfishos/connman/blob/master/connman/plugins/jolla-gps.c
attah
16 July 2022 13:30
2
Here is the obligatory “apps should not be allowed to do that without user interaction” comment.
Sorry.
Also the link is dead.
I won’t be posting my app in the store anyway, as it already contains API’s that are not allowed.
attah
16 July 2022 13:49
4
Regardless of store or jailing, i’d hope/expect that to be privileged anyway.
So, you don’t know how to do it then?
GpsInfo app can do it. Not sure if code.is available but …
it is :
karry
17 July 2022 17:23
7
GpsInfo just active or deactivate its gps information reception, it is not able to switch phone setting.
1 Like
honestly do not understand the difference, when i click on activate in gps-info, it is the same as in settings.
but maybe i misunderstood the original question
Edz
18 July 2022 12:10
10
Thanks to 99% of you for your responses.