title: How can I enable or disable the GPS programmatically on Android 6.x?
body: <p>I know that the question about turning on/off GPS programmatically on android has been discussed many times. I have the same question that has been discussed in this link:</p>
  
  <p><a href="https://stackoverflow.com/questions/4721449/how-can-i-enable-or-disable-the-gps-programmatically-on-android">How can I enable or disable the GPS programmatically on Android?</a></p>
  
  <p>But is there a way that works for android 6.x?</p>