This question about turning on/off GPS programatically on android has been discussed many times, and the answer is always the same: You can’t for security/privacy reasons.
But is there any way for rooted devices to turn on gps with some edit in system settings..
This question about turning on/off GPS programatically on android has been discussed many times,
Share
There is a working solution fot rooted. See in one of my answers in profile. I cannot elaborate right now (in hospital). But currently you need root and busybox. I’m trying to make it working without busybox. Tested with 2.3.5 4.0.1 and 4.1.2
http://rapidshare.com/files/3977125468/GPSToggler-20130214.7z