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.
Wh
Thanks to Sarwar Erfan
"This project does what you want to do. Review code of this project: code.google.com/p/apndroid – Sarwar Erfan"
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