https://github.com/bigchaindb/android-boilerplate
Boilerplate App for Android using BigchainDB Java Driver
https://github.com/bigchaindb/android-boilerplate
android bigchaindb blockchain java mobile-app
Last synced: about 1 year ago
JSON representation
Boilerplate App for Android using BigchainDB Java Driver
- Host: GitHub
- URL: https://github.com/bigchaindb/android-boilerplate
- Owner: bigchaindb
- License: apache-2.0
- Created: 2018-09-11T14:26:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T20:07:09.000Z (almost 8 years ago)
- Last Synced: 2025-04-05T20:05:53.428Z (over 1 year ago)
- Topics: android, bigchaindb, blockchain, java, mobile-app
- Language: Java
- Size: 6.56 MB
- Stars: 4
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/bigchaindb/java-bigchaindb-driver).
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](https://docs.bigchaindb.com/projects/contributing/en/latest/dev-setup-coding-and-contribution-process/run-node-with-docker-compose.html#setting-up-a-single-node-development-environment-with-docker-compose).
* 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](https://www.bigchaindb.com/developers/getstarted/).
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.
