Rod Hynes 4419eb2d27 Add AndroidLibrary, a Java/Go binding that enables use of psiphon-tunnel-core within an Android app; modify sample AndroidApp to use AndroidLibrary (and remove embedded binary + subprocess method); move sample console app to its own subdir 11 年之前
..
.idea aeb024a106 Added AndroidApp project 11 年之前
app 4419eb2d27 Add AndroidLibrary, a Java/Go binding that enables use of psiphon-tunnel-core within an Android app; modify sample AndroidApp to use AndroidLibrary (and remove embedded binary + subprocess method); move sample console app to its own subdir 11 年之前
gradle aeb024a106 Added AndroidApp project 11 年之前
.gitignore aeb024a106 Added AndroidApp project 11 年之前
AndroidApp.iml aeb024a106 Added AndroidApp project 11 年之前
README.md 4419eb2d27 Add AndroidLibrary, a Java/Go binding that enables use of psiphon-tunnel-core within an Android app; modify sample AndroidApp to use AndroidLibrary (and remove embedded binary + subprocess method); move sample console app to its own subdir 11 年之前
build.gradle aeb024a106 Added AndroidApp project 11 年之前
gradle.properties aeb024a106 Added AndroidApp project 11 年之前
gradlew aeb024a106 Added AndroidApp project 11 年之前
gradlew.bat aeb024a106 Added AndroidApp project 11 年之前
settings.gradle aeb024a106 Added AndroidApp project 11 年之前

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.

In app\src\main\res\raw\psiphon_config, placeholders must be replaced with valid values.