Reputation: 9894
I made an app which is need wireless networks for Location Manager. If the user starts the app, a dialog will shown saying "Please turn on wireless networks for better location place"
If the user decides to turn it on, it will turned on forever, i mean it wont turn off if the user exits my app, and this thing is not a battery saver if you know what i mean.
How can i turn it off programatically on onStop() for example?
This option is located in Settings > Location and security > Use wireless networks (on/off)
Upvotes: 0
Views: 1902
Reputation: 1006869
How can i turn it off programatically on onStop() for example?
You cannot change this programmatically.
Upvotes: 1