Tag: proxy

Sharing 3G connection from Android to PCs and laptop through USB cable

Froyo, version 2.2 of Android, comes with application that allow you to share your 3G connection to anothers Wi-fi devices, but, if you don’t have a Wi-fi network card in your computer, this application have not usability.

ProxoId, free application available in Android Marketing, allows you to share connection from your Android  only using USB cable.

It needs a stand alone program and Android drivers running in your PC/laptop to work.

The driver and stand alone program can be found in a ZIP file for Windows 32 bits  here  and Windows 64 bits here. If you’ve already installed manufacturer driver (from CD), skip to Finding your smartphone section.

*Texts of images bellow are in Brazilian Portuguese

Installing drivers

Uncompress ZIP file and connect your Android to PC. The new hardware wizard will be shown.

Choose “No, not this time” and click in “Next”. In following screen, choose”Install from a list or specific location”. Click “Next”.

Enable the options “Search for the best driver in these locations” and “Include this location in the search”, then click in “Browse”.

Go to directory where you have uncompressed the ZIP file > “usb_driver” > “x86”, like image bellow.

Click in “OK”, “Next” and follow next steps until complete the installation.

Finding your smartphone

Make sure your Android is connected to computer. Open the directory “proxoid-adb” and run “check.bat”. A screen with number of your device, like this below, should be displayed.

If don’t, try to desconnect and connect your smartphone again or try to reinstall the drivers.

Configuring ProxoId

Configuration screen is opened when ProxoId runs:

“Start/Stop ProxoId” – Control service to share the connection;
“Port” – Port number to proxy
“User-Agent Filter” – Mask to User-Agent (Browser).

Configuring Browser

Internet Explorer and Google Chrome

Open “Start” menu > “Control Panel” and “Internet Options”. Click in tab “Connections” and in “LAN Settings”.

In “Address”, type “localhost” and, in “Port”,  type same value marked in application.


Open Firefox, clique in menu “Options”. Choose tab “Advanced” > “Network” and click in button “Settings…”.

Enable “Manual proxy configuration” option.

In “HTTP”, type “localhost” and, in “Port”, type same value marked in application.

Sharring the connection

Enable “Start/Stop ProxoId” in your Android.

At computer, run “start-tunnel.bat” in “proxoid-adb” directory.

That’s it! While application is enabled and  “start-tunnel.bat” is running, your computer will use your Android to connect at internet!

Setting up internet access through proxy server

Today I had a trouble in my workplace when a client application, running through a terminal (DOS prompt), not reach the server hosted in the internet, this is because the company where I work use proxy.

After some tries I found two solutions to solve my access problem: first was pass as Java parameters the proxy’s configurations.

$ java -Dhttp.proxyHost=serv -Dhttp.proxyPort=port -Dhttp.proxyUser=user -Dhttp.proxyPassword=pass  ClassJava

-Dhttp.proxyHost = IP or host name of server proxy
-Dhttp.proxyPort = Proxy port
-Dhttp.proxyUser = User
-Dhttp.proxyPassword = Password

This way the class ClassJava will have access to internet through proxy server.

Another way, was insert the settings in own class:

public static void main(String[] args){
System.getProperties().put("proxySet", "true");
System.getProperties().put("http.proxyHost", "serv");
System.getProperties().put("http.proxyPort", "port");
System.getProperties().put("http.proxyUser", "user");
System.getProperties().put("http.proxyPassword", "password");

proxySet = Connect, or not, through proxy server
http.proxyHost = IP or host name of server proxy
http.proxyPortt = Proxy port
http.proxyUse = User
http.proxyPassword = Password

Using this resource you can set your application to access the internet through proxy server.

I hope help you.  Bye! 😉

  • Advertisement

  • Advertisement

  • Copyright © 1996-2010 André L. S.. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress