I think it has been discussed a lot but i couldnt find any further information here:
GPS cant be toggled by Code.
But i found several Apps on the market who managed to do it.
They seem to use some kind of bug because the restart Bluetooth service or so :/
Does anyone have an idea how to do it?