Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Android library for use by any application that wants to route their network traffic through Orbot/Tor
branch: master

cleaning up comments and sample code

added new license file, in line with Orbot code
latest commit 2bdfe45ac8
@n8fr8 n8fr8 authored


Once Orbot connects successfully to the Tor network, it offers two proxy servers running
on localhost that applications can route their traffic through.

HTTP Proxy: localhost:8118
SOCKS 4/5 Proxy: localhost:9050

for the basics of how to use this library to open sockets and make HTTP requests via the
SOCKS and HTTP proxies available from Orbot

The standard Apache HTTPClient libraries provide calls to setup proxying. This sample code
demonstrates that.

All applications using the SOCKS proxy should not resolve their DNS locally,
and instead should pass the hostnames through the SOCKS proxy. 

Something went wrong with that request. Please try again.