GithubHelp home page GithubHelp logo

xiaohou77 / elastos.org.wallet.mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmsaulnier/elastos.org.wallet.mobile

0.0 0.0 0.0 477.18 MB

Java 25.95% CMake 0.09% TypeScript 6.19% HTML 2.31% JavaScript 9.02% C++ 33.71% Batchfile 0.48% Objective-C 14.94% C# 1.22% CoffeeScript 1.32% PowerShell 0.05% Shell 0.05% C 0.03% Objective-C++ 1.51% CSS 3.14%

elastos.org.wallet.mobile's Introduction

Elastos Wallet App

install ionic|cordova

npm install -g ionic cordova

install dependency package:

npm install

execute:

run in web :

ionic serve

run in Android:

ionic cordova run android --device

run in Android - debug mode:

ionic cordova run android -l -c -s

android studio :

execute 2 or 3 if you would like to launch Android in Android Studio.


Code Structure

  • src | web page source code
    • pages |web page
    • providers/WalletManager.ts | cordova plugin
  • www | web page code after build
  • platforms |
    • android | Android project
      • assets | website after build
      • jniLibs | so dynamic lib
      • com.elastos.spvcore.WalletManager | java->c++ jni call
      • ElaWallet.Wallet | java-js jni call
      • io.ionic.starter.MainActivity | entry to load webview
  • plungin-src | wallet plugin src code, added to mainproject
    • plugin.xml | config file
    • www | js plugin interface
    • src | java plugin interface
  • plugins |cordova plugin
    • ElaWallet | Wallet Plugin

      • android | same as platforms/android, built to projects automatically

c++ layer

Please refer to: https://github.com/elastos/Elastos.ELA.SPV.Cpp/tree/dev

Commands:

  • Remove ElaWallet Plugin: ionic cordova plugin remove ElaWallet
  • Add ElaWallet Plugin: cd plungin-src && ionic cordova plugin add ElaWallet
  • Build ElaWallet Plugin: cd .. && ionic cordova build android
  • ionic cordova plugin remove ElaWallet && cd plungin-src && ionic cordova plugin add ElaWallet && cd .. && ionic cordova run android --device --prod

NDK version requied:

  • android-ndk-r16b

Build Release Version:

  • ionic cordova build android --release --prod

elastos.org.wallet.mobile's People

Contributors

free789 avatar songjiazhun avatar fatasia avatar houshoupei84 avatar heropan avatar free1 avatar squaretools avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.