Rod Hynes b2f5e92037 Replace SocketProtector/BindToDevice UNIX domain socket client/server with in-process Java/Go interface; update import paths from code.google.com; fix: don't use 0 timeout in bindLookupIP 11 years ago
..
.idea e9967ac034 Update AndroidApp project files (following Android Studio upgrade to 1.0 RC) 11 years ago
app b2f5e92037 Replace SocketProtector/BindToDevice UNIX domain socket client/server with in-process Java/Go interface; update import paths from code.google.com; fix: don't use 0 timeout in bindLookupIP 11 years ago
gradle e9967ac034 Update AndroidApp project files (following Android Studio upgrade to 1.0 RC) 11 years ago
.gitignore aeb024a106 Added AndroidApp project 11 years ago
AndroidApp.iml e9967ac034 Update AndroidApp project files (following Android Studio upgrade to 1.0 RC) 11 years ago
README.md 80a1b5efaa Replace psiphon_config with stub and make it so test config will be excluded from source control; add DatastoreFilename to config 11 years ago
build.gradle e9967ac034 Update AndroidApp project files (following Android Studio upgrade to 1.0 RC) 11 years ago
gradle.properties aeb024a106 Added AndroidApp project 11 years ago
gradlew aeb024a106 Added AndroidApp project 11 years ago
gradlew.bat aeb024a106 Added AndroidApp project 11 years ago
settings.gradle aeb024a106 Added AndroidApp project 11 years ago

README.md

Psibot README

Overview

Psibot is a sample app that demonstrates embedding the Psiphon Go client in an Android app. Psibot uses the Android VpnService API to route all device traffic through tun2socks and in turn through Psiphon.

Status

  • Pre-release

Native libraries

app\src\main\jniLibs\<platform>\libtun2socks.so is built from the Psiphon fork of badvpn. Source code is here: https://bitbucket.org/psiphon/psiphon-circumvention-system/src/default/Android/badvpn/. The source was modified to change the package name to ca.psiphon.psibot.

Psiphon Android Library and config file

Uses the Psiphon Android Library.

app\src\main\res\raw\psiphon_config_stub and its placeholder values must be replaced with app\src\main\res\raw\psiphon_config and valid configuration values.