bigchaindb / android-boilerplate

Boilerplate App for Android using BigchainDB Java Driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BigchainDB Android Boilerplate

Basic Android boilerplate app which wraps text in an asset and performs CREATE transaction in BigchainDB. This app is created using Java driver for BigchainDB.

Android app developers can use this boilerplate as a starting point for developing BigchainDB based apps. It showcases how to use the BigchainDB Java Driver in Android apps.

Pre-requisites

  • BigchainDB node running locally. If you don't already have a BigchainDB node running locally, you can set it up by following the instructions here.

  • Android Studio

  • JDK 8 (or later)

  • Android SDK (api v23 or later)

Setup

  • Clone this repo using git clone https://github.com/bigchaindb/android-boilerplate.git.
  • Open this repo in Android Studio.
  • Build this project and Build apk.
  • Click Run app using any AVD (>= api 23)

Usage

The boilerplate is based on the Getting Started page on BigchainDB website.

Once you have the local node and this app running, just enter some text in the text box and tap/click Send Transaction. The text will be wrapped in a BigchainDB transaction and will be posted to the local node, using the BigchainDB Java Driver. The response with full transaction object will be shown in the space below the button.

About

Boilerplate App for Android using BigchainDB Java Driver

License:Apache License 2.0


Languages

Language:Java 100.0%