Action - Set Network Location State

The action Set Network Location State changes the setting whether the system can use WiFi access points and the mobile network to determine your location.

Note: Android shows a confirmation dialog on some devices.
Warning: This function requires root access, is not officially supported by Android and might not work on all devices.

 

Examples:
  • Turn on the network location when Google Maps is started
Settings
Network Location
Whether the network location provider can be used to determine the location.