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

Latest commit

 

History

History
48 lines (28 loc) · 2.14 KB

README.md

File metadata and controls

48 lines (28 loc) · 2.14 KB

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