Feathercoin -mobile /Android wallet Version 5 update
Introduction: Code status The Feathercoin-wallet was forked from the Litecoin-wallet fork of the Bitcoin android wallet at version 3.x (by Hank).
Hank continued to manage developments, but on a separate branch on Litecoins official Github. Those changes were not pulled into the Feathercoin fork, causing it to become out of date. The Litecoin wallet is at 5.x
It was difficult to find other Alt-coin mobile wallets beyond 3.x
Mobile wallet way forward - status I’ve updated “a” plan to generally show the discussion of a way forward. As with any FTC / open source project, any comments or help will be included.
Good way to learn about FTC "code" Since - finding out, research / documenting and working out automatic systems to proceed with the Feathercoin Mobile wallet is the main aim, this would be a good project to watch or comment on.
The project should include, Github management, fault finding, building code and some minor code fixes.
You don’t need to be an expert to help and we don’t claim to be experts in every area, so will be documenting even trivial stuff so other members can learn / see whats going on.
It should be interesting achievable project which will include a lot of detail of how FTC is put together.
Brainstorming the Feathercoin-cli (0.9.6) project build, documentation, and test issues through the chat box proved very successful. It meant we could work on stuff we were investigating, distribute things we found, or ask for help researching (or knowing) a relevant fact or FTC setting or function.
Once a topic was discused, the relevant facts or way forward established, that could be “set in stone” in a thread or issue.
Way forward (subject to further review / comments / team availability)
- Fork Bitcoin-wallet, allocate / manage FTC Github
- Review and document feathercoin-wallet-2 commits on Github
- Set up Android wallet v5 chat stream
- Review and note Litecoin-wallet commits on Github
- Review feathercoinj, Litecoinj and bitcoinj
- Identify and fix current issues (0.9.6 compatibility, 0.11 way forward)
- Review auto tests / auto builds / "overview responsibility, support prep, )
- Test upgrade from old version, upgrade strategy
- Release Feathercoin-Wallet (v5.x)
- Document and minimise support procedure, volenteer to overview auto test fail procedure.
Fork and review status of “Bitcoin” android wallets - 20% done
Mobile Wallet Audit for 0.9.6 release :
Official Feathercoin Mobile Wallet on Google play https://play.google.com/store/apps/details?id=com.feathercoin.wallet&hl=en
Mobile Wallet issues and source code: https://github.com/wellenreiter01/feathercoin-wallet-2 Note : Development branch to be designated : use
Installing Mobile Wallet development environment: Using Ubuntu 16.10 as an example:
Developments procedures and help
Github Source code, issues and changes are stored on Github.
On Github Fork the wallet source code to your own account. https://github.com/wellenreiter01/feathercoin-wallet-2
In your Github account Create a new Dev branch on Github. git clone from your repository, then run checkout before changing the code.
git checkout branch-dev
Development procedure Make changes in your branch the push them to Upstream - by making a pull request in Github.
Installing Android development environment
Open a Terminal
Install Prerequisites Android Studio requires few prerequisites before it can be installed. Run the following command to fulfill this requirement:
$ sudo apt-get install git gradle
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
Install Oracle Java JDK/JRE 7 which is required for Android Studio to run.
sudo apt update && upgrade
sudo apt purge openjdk*s
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
Uncompress or Unzip Android Studio Bundle Still within the Downloads directory execute unzip command to decompress the android studio bundle:
$ unzip -qq android-studio-ide-145.3537739-linux.zip
or you can download directly :
unzip -qq android-studio-ide-145.3537739-linux.zip
Running Android Studio:
Follow the on screen instruction to complete the installation.
Check the path or download the Android SDK or NDK . In Android-Studio Select the menu “File” > “Project Structure” > “SDK Location”, “Android NDK Location”
In a terminal with Sdk in Android directory:
$ ~/Android/Sdk/tools/android update sdk --no-ui --force --all --filter tool,platform-tool,build-tools-25.0.1,android-15,android-25,extra-android-m2repository
Developing Feathercoin Wallet Initially : create a development branch & clone your fork of the wallet:
git clone https://github.com/MYGITHUBNAM...
git checkout branch-dev
sudo apt install git gradle openjdk-8-jdk libstdc++6:i386 zlib1g:i386
git clone https://github.com/kris-daviso...
cd neoscrypt-jni-standaloneConfirm Java version is correct:
For each build
gradle clean :native-scrypt:copy test build
Notes : Feathercoinj Info Feathercoinj is a fork / clone of Litcoinj - It looks like this may need to be reforked so changes anf ixes can be just bought in and only investigated if they fail the auto build test. Links: https://github.com/hank/feathercoinj https://github.com/kris-davison/neoscrypt-jni-standalone @kris_davison https://github.com/bitcoinj/bitcoinj
Android wallet discussion on BitcoinTalk https://bitcointalk.org/index.php?topic=448600.0
Converting Feathercoin Wallet to 0.8.x core release compatibility https://forum.feathercoin.com/topic/6758/dev-mobile-android-and-iphone-wallet-app-application-developments/2
Guide to Upgrading the wallet (to version 3) http://forum.feathercoin.com/t...
Refs: http://stackoverflow.com/questions/34556884/how-to-install-android-sdk-on-ubuntu https://community.nxp.com/thread/327811 https://dzone.com/articles/nb-developing-android-apps http://tools.android.com/download/studio https://sysads.co.uk/2016/06/how-to-install-android-studio-2-1-2-on-ubuntu-16-04/