Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.56 KB

File metadata and controls

39 lines (32 loc) · 1.56 KB

Web3j-Android-Ether-Wallet-Ethereum-Client

I developed a simple DApp Ether Wallet in Android. The following functionalities of this project is discuss below.

Functionality

  1. You can login to your existing wallet.
  2. You can connect to any four major ethereum blockchain networks (Rinkeby, Kovan, Ropsten, Main-Net).
  3. You can transfer funds from your ethereum address to another ethereum address.
  4. You can get Gas Price, Block Hash aand Block number on every transaction you perform.

Getting Started

This application uploaded for learning purpose. Just copy your UTC file in your phone External or Internal Storage for logging in with network. These instructions will help you to copy this project and run to your local machine.

Manifest

Permissions

  1. android.permission.INTERNET
  2. android.permission.ACCESS_NETWORK_STATE
  3. android.permission.READ_EXTERNAL_STORAGE
  4. android.permission.CAMERA

Application

  1. android:largeHeap="true"

MainActivity

Install MultiDex

Copy this statement to MainActivity.java on your project to install MultiDex in your app.

  1. MultiDex.install(this);

Strict Mode

Copy these to your MainActivity.java for permit all strict mode threads.

  1. final StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
  2. StrictMode.setThreadPolicy(policy);

Dependencies

  1. compile 'com.android.support:multidex:1.0.1'
  2. compile 'org.web3j:core-android:2.2.1'
  3. compile 'com.google.zxing:core:3.2.1'
  4. compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'

Built with

Android Studio 2.3.3