-2

I would like to create Android background service application that prevents to shut down the 3G connection. I will try to explain better, I've 4 Android tablets, and I need that my employees do not turn off the 3G connection. Someone have an examples? thanks beforehand

keyser
  • 18,829
  • 16
  • 59
  • 101

1 Answers1

1

The only reason why a mobile data connection will shut down is because either:

  • The user turned on airplane mode, or

  • The user fussed around in Settings and screwed up an access point name or something

You cannot control either of these behaviors from an ordinary SDK app, except perhaps on a rooted device.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Or because the carrier sucks. Happens to me all the time :p – keyser May 08 '14 at 22:33
  • @keyser: I would interpret your issue as being that the mobile data connection is disconnected. There's nothing the OP can do about that either. However, the question is asking that "employees do not turn off the 3G connection", which is a separate matter. – CommonsWare May 08 '14 at 22:35