Apologies for posting like this.
Below is a link to a question that i thought would be better off in the GPRS section, but now that I think about it, it is also relevent here and in many other places.
I need to be able to control what applications use my internet connection. I'd need to be able to check what sort of connection it is, e.g. LAN or Wireless or GPRS and if it is a connection that will cost i.e the gprs one, then somehow stop internet traffic for all apps bar the one i specify.
I thought that I would have to write some sort of firewall and embed it in my application. That way when I run it, it would block all other apps.