title: Switch Android GPS programmatically
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4721449/enable-gps-programmatically-like-tasker">How can I enable or disable the GPS programmatically on Android?</a>  </p>
  </blockquote>
  
  
  
  <p>I have searching on how to toggle GPS programmatically, the standard answer is that it's not possible. </p>
  
  <p>If this is really the case how do all the various power/toggle related widgets manage to toggle GPS with one click and no warning. The market place is full of examples that show it is possible.</p>
  
  <p>So how?</p>