Tor-Android library

Integrating Tor directly into your mobile app

Source repository:

Easy to integrate as a Maven dependency

dependencies {
    implementation 'info.guardianproject:tor-android:'
    implementation 'info.guardianproject:jtorctl:'

Bind to Tor as a Service

bindService(new Intent(this, TorService.class), new ServiceConnection() {
            public void onServiceConnected(ComponentName name, IBinder service) {

                TorService torService = ((TorService.LocalBinder) service).getService();

                Toast.makeText(MainActivity.this, "Got Tor control connection", Toast.LENGTH_LONG).show();

            public void onServiceDisconnected(ComponentName name) {


Last updated