Here you can enable or disable your GPS. This is not part of the official API so it may not work on all phones. It may work on older phones where I use loophole in the android system to do it. I am really not supposed to mess with these settings and google closes these loopholes with their new releases.