0

How to turn on GPS and Internet on Android, with code?

stivlo
  • 83,644
  • 31
  • 142
  • 199
lacas
  • 13,928
  • 30
  • 109
  • 183
  • possible duplicate of [How to programmatically enable GPS in Android Cupcake](http://stackoverflow.com/questions/1051649/how-to-programmatically-enable-gps-in-android-cupcake) – Matt Ball Dec 13 '10 at 17:13

1 Answers1

1

Based on the user interaction that I have seen, I would say the preferred way to do this is simply to prompt the user to turn on GPS if it is off. This is totally speculation though.

See also:

Community
  • 1
  • 1
Matt Ball
  • 354,903
  • 100
  • 647
  • 710