Rod Hynes 865c73cc32 Remove 64-bit native libs for now, since we have only a complete set for 32-bit and with a partial set the library loader fails (e.g., 64-bit device finds at least one 64-bit library and then expects to find all 64-bit libraries). пре 11 година
..
.idea 31797f23c6 Added some suggested items to gitignore. Committing cleaner version of some Android Studio files. пре 11 година
app 865c73cc32 Remove 64-bit native libs for now, since we have only a complete set for 32-bit and with a partial set the library loader fails (e.g., 64-bit device finds at least one 64-bit library and then expects to find all 64-bit libraries). пре 11 година
gradle e9967ac034 Update AndroidApp project files (following Android Studio upgrade to 1.0 RC) пре 11 година
.gitignore aeb024a106 Added AndroidApp project пре 11 година
AndroidApp.iml 31797f23c6 Added some suggested items to gitignore. Committing cleaner version of some Android Studio files. пре 11 година
README.md c1f6d6cb0c Change data store disk configuration from filename to data directory and temp directory -- enables working configuration of library on Android. пре 11 година
build.gradle e9967ac034 Update AndroidApp project files (following Android Studio upgrade to 1.0 RC) пре 11 година
gradle.properties aeb024a106 Added AndroidApp project пре 11 година
gradlew aeb024a106 Added AndroidApp project пре 11 година
gradlew.bat aeb024a106 Added AndroidApp project пре 11 година
make.bash fff1475a53 Use Java 7 in build image. App now builds in image. пре 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.

  • 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.

  • Install the Android Library shared object binary at app/src/main/jniLibs/armeabi-v7a/libgojni.so.