This mobile app is an example to learn how Blockchain works as an Android app using Java.
You can clone or fork this repo and use it freely. If there are build errors, in Android Studio go to Tools -> Android -> SDK Manager
and install any available updates. Then go to Build -> Clean Project
and finally Build -> Rebuild Project
.
Remember, you will need getting the last API version and updates. This project runs with AndroidX and new Material Design, so, if you want to keep this, leave the dependencies as they are.
dependencies {
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
}
The first block (Genesis block) will be inserted whenever you open the app.
A hash check of three blocks.
You can encrypt the message to insert it in the Blockchain.
You can set the 'Proof-of-work' to test the app on your device.
Get more info about this app and the Blockchain.
Switch to dark theme when you need it or in Battery saver.
For anything about the project, you can email me at [email protected]. You can visit my website.