Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Deprecated. Android library for encrypted file transfer on the Storj network.

License

Notifications You must be signed in to change notification settings

storj-archived/android-libstorj

Repository files navigation

android-libstorj

Notice: Development on android-libstorj is currently on pause during our v3 rearchitecture. Please see storj/storj for ongoing v3 development.

Check the v3 branch for implementation that works with Storj V3.

Android library for encrypted file transfer on the Storj network via bindings to libstorj.

The library includes:

  • Java API for working with the Storj network
  • Pre-build native libraries: libstorj and all its dependencies (libuv, json-c, curl, openssl, etc.)

Requirements

  • Android 5.0 Lollipop or newer

Setup

Add the Gradle dependency to the build.gradle file of the app module:

dependencies {
    compile 'io.storj:libstorj-android:0.8'
}

Usage

Use the StorjAndroid factory to get an instance of the Storj class, properly initialized for Android:

Storj storj = StorjAndroid.getInstance(getContext());

Use the public methods of the Storj class to work with the Storj network.

Sample app

Hello Storj is a sample Android app that demonstrates the setup and usage of this library.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.