How to disable location service programmatically?


Is there any way to disable google location service programmatically? I want to write an app to turn it off with a widget.

Thanks for your help!


Answers:


Is there any way to disable google location service programmatically?

No, sorry, you cannot disable GPS, etc. programmatically, except via an app installed on the system partition or signed by the firmware's signing key. IOW, you need a rooted phone.