I am trying to switch the network preference from 3G to 2G/EDGE through code and vice versa. I can able to switch on and off the mobile data connection. Now i need know how to s
As far as I know cannot do this as it is a restricted setting. You need a special permission, to change it. Take a look at this post.
edit: Updated link, working now