Action - Set GPS State

The action Set GPS State turns GPS globally on or off.

Warning: This function requires root access, is not officially supported by Android and might not work on all devices.

 

Examples:
  • Turn GPS on when Google Maps is started.
Settings
GPS
Whether to turn GPS on or off.