How can I disable GPS/WiFi for all Android apps but one I’m crerating?

No you cannot turn these types of services off from within your app (and I don’t know why you would want to). Taken from the docs:

Global system settings, containing preferences that always apply
identically to all defined users. Applications can read these but are
not allowed to write; like the “Secure” settings, these are for
preferences that the user must explicitly modify through the system UI
or specialized APIs for those values.

Browse More Popular Posts

Leave a Comment