title: Enable/Disable GPS from Android CLI
body: <p>Is it possible to enable or disable the GPS from the Android command line/terminal (<strong>not</strong> from Java source).   Im ok with the solution requiring root privs, as I understand there are security issues with random apps enabling the GPS against the user's wishes. I see a "run-as" command on my EVO, but can't find much about the command to see if that would be useful.</p>
  
  <p>Edit:  I guess a more "generic" form of the question is this:  Can I run a particular app (davlik vm ) as any particular user if I have root privs?  The system included widget to switch on/off GPS works because it runs as the same user as the system. Could I have my own app run as the system user in some way?</p>