Go to file
str4d 1e404b62d1 Fingerprint field for contacts, not filled yet
The regular Fingerprint doesn't work here because it requires the salt, which is
not part of the public Destination. The salt is published with the Destination
in the public address book, and could be conveyed between Bote apps via NFC or
QR code, but that doesn't work for Destinations published in other spaces.
2014-08-28 06:37:58 +00:00
2014-08-20 06:40:54 +00:00
2014-06-23 02:11:52 +00:00
2014-07-08 12:25:33 +00:00
2014-06-13 01:07:38 +00:00
2014-06-13 01:07:38 +00:00
2014-08-28 03:15:50 +00:00

I2P-Bote for Android

Bote is an Android port of I2P-Bote.

Build process

Dependencies:

  • Java SDK (preferably Oracle/Sun or OpenJDK) 1.6.0 or higher
  • Apache Ant 1.8.0 or higher
  • I2P source
  • I2P-Bote source
  • Android SDK (tested with Rev 22.6.4 and platform-tools version 19.1)
  • Android Support Repository
  • Gradle 1.12

Gradle

The build system is based on Gradle. There are several methods for setting Gradle up:

  • It can be downloaded from the Gradle website.

  • Most distributions will have Gradle packages. Be careful to check the provided version; Debian and Ubuntu have old versions in their main repositories. There is a PPA for Ubuntu with the latest version of Gradle.

  • A Gradle wrapper is provided in the codebase. It takes all the same commands as the regular gradle command. The first time that any command is run, it will automatically download, cache and use the correct version of Gradle. This is the simplest way to get started with the codebase. To use it, replace gradle with ./gradlew (or ./gradlew.bat on Windows) in the commands below.

Gradle will pull dependencies over the clearnet by default. To use Tor, create a gradle.properties file in i2p.android.base containing:

```
systemProp.socksProxyHost=localhost
systemProp.socksProxyPort=9150
```

Preparation

  1. Install I2P. You need the installed libraries to build against.

  2. Download the Android SDK. The simplest method is to download Android Studio.

  3. Check out the i2p.i2p-bote and i2p.i2p-bote.android repositories.

  4. Create a local.properties file in i2p.i2p-bote.android/botejars containing:

    i2pbase=/path/to/installed/i2p
    botesrc=/path/to/i2p.i2p-bote
    
  5. If you want to use a local copy of the I2P Android client library, place it in a folder and add the following line to your ~/.gradle/gradle.properties:

    localFileRepoDir=/path/to/folder
    

Building from the command line

  1. Create a local.properties file in i2p.i2p-bote.android containing:

    sdk.dir=/path/to/android-studio/sdk
    
  2. gradle assembleDebug

  3. The APK will be placed in i2p.i2p-bote.android/app/build/apk.

Building with Android Studio

  1. Import i2p.i2p-bote.android into Android Studio. (This creates the local.properties file automatically).

  2. Build and run the app (Shift+F10).

Signing release builds

  1. Create a signing.properties file in i2p.i2p-bote.android containing:

    STORE_FILE=/path/to/android.keystore
    STORE_PASSWORD=store.password
    KEY_ALIAS=key.alias
    KEY_PASSWORD=key.password
    
  2. gradle assembleRelease

Description
No description provided
Readme 2.6 MiB
Languages
Java 93.6%
HTML 6.4%