Enable/Disable Android Location Services

I need create a method that disable and enable the device location.
Anyone can help me?

Google API does not provide any shortcuts to do this. You could try to open the corresponding setting and switch the service state like a normal user would do it.

Bad news…
Thanks mykola-mokhnach for your answer.