hyperboria / android

Android app for mesh networking with cjdns
GNU General Public License v3.0
159 stars 40 forks source link

cjdns for Android

Build Status tip for next commit

Meshnet is an Android app that lets you connect to cjdns networks, without the need for a rooted phone—thanks to the android.net.VpnService API introduced with Android 4.0 (Ice Cream Sandwich). Older versions still require root and routes through a TUN device.

Current state: App starts and stops cjdroute for rooted devices with Android 4.4 (KitKat) and below. A public peer is added by default, so you should be able to browse websites and reach services on Hyperboria just by starting the cjdns service with the toggle. All other menus are only populated with mock data at the moment and you cannot add additional peers.

Installation

  1. Install the Android SDK

  2. Clone this application repo

  3. Clone cjdns and build native binaries:

    ./android_do
  4. Copy built artifacts from ./build_android/ into the application repo such that corresponding cjdroute binaries are located as such:

    ./src/main/assets/armeabi-v7a/cjdroute
    ./src/main/assets/x86/cjdroute
  5. Build application and install on device:

    ./gradlew installDebug

Contact

Notes