How to turn off gps?

in my application i want to turn off the gps sensor after storing the current location value. can you help me out ??

Hi i dont think something like this is possible