Turn 3G data on and off

derez

Expert
Licensed User
Longtime User
I want my app to turn the data connection via 3G on and off.
I know I need an intent, and to use the following:
ACTION_MAIN
DATA_ROAMING_SETTINGS

Can someone show me how to put it together ?
Thanks
 
Top