# TorServices

TorServices source code and app install links are available at: <https://guardianproject.info/apps/org.torproject.torservices/>

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 [available on Gitlab](https://gitlab.com/guardianproject/torservices/-/blob/master/sample/src/main/java/org/torproject/torservices/sample/MainActivity.java?ref_type=heads), 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....");

            }
        });

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.onionmobile.dev/tor-on-android/torservices.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
