1

I am trying to turn off the internet connectivity thru android app like GPRS/EDGE/3G. When needed I need to turn on the same. But I could not find how to do that.

What is the API which supports this. Please help me.

jaks
  • 4,407
  • 9
  • 53
  • 68

2 Answers2

1

Thanks to Sarwar Erfan

"This project does what you want to do. Review code of this project: code.google.com/p/apndroid – Sarwar Erfan"

jaks
  • 4,407
  • 9
  • 53
  • 68
0

Did you try putting the phone on airline mode? It should stop all incoming and outgoing data, phone calls but still let the user play around with data/applications already on the phone.

You can check the settings that deal with putting a phone on airline mode here.

HTH,
Sriram

Sriram
  • 10,298
  • 21
  • 83
  • 136