Tor Mobile Dev Guide
  • đź§…Welcome to Onion Mobile Devs!
  • The History of Tor
  • The Tor Protocol
  • Tor ("C Tor") vs Arti: What?!
  • Mobile Concepts
    • Mobile Apps with Tor
    • Possible Ways to Tor Your App
    • Limitations of Mobile Devices
    • Mobile Users in the OnionVerse
  • Tor on Android
    • All The Onions on Android
    • Tor-Android library
    • Pluggable Transports for Android
    • NetCipher with Orbot (Legacy)
    • TorServices
    • Arti Mobile on Android
  • Tor on iOS
    • All The Onions on Apples
    • Tor.Framework for iOS
    • Pluggable Transports for iOS
    • IPtProxyUI
    • OrbotKit
    • TorManager
    • Arti and Onionmasq on iOS
  • Help and Community
    • Community Case Studies
    • Developer Story: Arti Integration Journey
    • Where to get help
Powered by GitBook
On this page
Edit on GitHub
  1. Tor on Android

TorServices

The new way to use Tor as a separate app

PreviousNetCipher with Orbot (Legacy)NextArti Mobile on Android

Last updated 1 year ago

TorServices source code and app install links are available at:

TorServices is a free proxy app that empowers other apps to use the internet more securely. It acts as a simple Tor “provider” for apps to hide their Internet traffic by encrypting it, then bouncing through a series of computers around the world. Tor is free software and an open network that helps you defend against a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security known as traffic analysis.

You can check for TorServices being installed, and setup callbacks for status broadcasts using NetCipher, exactly as you would with Orbot. Sample code is , with a snippet displayed below

OrbotHelper.get(this).addStatusCallback(new StatusCallback() {
            @Override
            public void onEnabled(Intent statusIntent) {
                setProxy();
                webView.loadUrl("https://check.torproject.org/");
            }

            @Override
            public void onStarting() {
                statusTextView.setText("starting....");

            }

            @Override
            public void onStopping() {
                statusTextView.setText("stopping....");

            }

            @Override
            public void onDisabled() {
                statusTextView.setText("disable....");

            }

            @Override
            public void onStatusTimeout() {
                statusTextView.setText("timeout....");

            }

            @Override
            public void onNotYetInstalled() {
                statusTextView.setText("not installed....");

            }
        });

https://guardianproject.info/apps/org.torproject.torservices/
available on Gitlab