Network Proxying on Android
From Guardian Project Wiki
How to install iptables on your rooted device
(take from here: )
1) Download and install Android WiFi Tether form http://code.google.com/p/android-wifi-tether/ or search for Wireless Tether for Root Users in Android Market.
2) Run the Wireless Tether once.
3) Download and install a Terminal Emulator.
4) Run the Terminal Emulator.
5) Log in as superuser by typing the following command: $ su
6) Remount system as rw (read-write enabled) with the following command:
- mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Tip: It’s also possible to use Droid Root Helper app to achieve the above task.
7) Copy the iptables installed by Wireless Tether to the /system/bin executables directory with following command:
- cp /data/data/android.tether/bin/iptables /system/bin
8) Run Orbot again with the transparent proxying enabled. Run the "check" menu option, and you will see if the iptables solution has worked.
HTTP Proxy Settings App
This is for setting HTTP proxy values on Android 2.2.
1) In the Android Market, search for "HTTP Proxy Settings" app, and install it.
2) Run the "Proxy Settings" app from your app drawer.
3) Set the hostname to "127.0.0.1" and the port to "8118".
4) Run Orbot, connect to the Tor network, then run the "Check" menu option.
For Developers: Enabling Proxying in Your App
how use HTTP and SOCKS proxies in your code