I have found an application “where is my car” that works very well, but I would like that when I open the application I activate the location or ask me if I want to activate it and I do not have to do it manually.
The function "SWestadoGPS_DESCONECTADO" inside a Timer Loop allow to manage the GPS status of your smartphone warning to the user or what you want to do. You can not access direct by app to the device GPS phisical elements by security rules.
In Android I can automatically redirect the user to activate the GPS device.
I tried it, it is deleted because it does not do what I want and when I open directly google maps it is slower to use the app, I put it in
screen initialize