I am developing an application on android, and there is a proxy server in the company preventing it from accessing the internet.
I recall there are Http methods in java that serves the purpose, I searched for them but with no result.

So what I'd like is how to put the server IP-address and port-number, with my login-username and password, and the domain-name.

Note: I have set my emulator to connect to the internet by going to the APNs and it successfully connects to the internet via the browser.