Skip to content

applsdev/My-Wallet-Android

 
 

Repository files navigation

export ANDROID_HOME=/Users/zootreeves/android-sdks 

API Calls used

** Download a list of transactions for a wallet **

https://blockchain.info/api

/multiaddr

** Websocket API **
https://blockchain.info/api_websocket

Used for live confirmations of transactions and wallet update notifications

** download Wallet **
/wallet/wallet.aes.json?guid=$guid&sharedKey=$sharedKey

FILES

//Backup wallet file (one version behind the latest on the server)
wallet.backup.aes.json

//Latest wallet file
wallet.aes.json

//Cache of your transactions
multiaddr.cache.json


SETTING UP FOR DEVELOPMENT

Make sure you've got Eclipse 3.7 (Indigo) with ADT 16 installed.

Use https://github.com/mosabua/maven-android-sdk-deployer to deploy all Android components to
your local Maven repository.

Use Git to check out the project to your workspace:

  git clone https://github.com/zootreeves/My-Wallet-Android

Change to that directory.

Use the maven-eclipse-plugin to create Eclipse project files:

  mvn eclipse:eclipse

Optional: In the generated .classpath, remove the org.eclipse.jdt.launching.JRE_CONTAINER
classpath entry. It does not belong there, but cannot be excluded from being generated currently.

In Eclipse, use File -> Import -> General -> Existing Project into Workspace to import project.

If you see loads of "should be tagged with @Override" errors, set

  Project -> Properties -> Java Compiler -> Errors/Warnings -> Annotations ->
  Missing @Override annotation to 'Warning'


NFC (Near field communication)

Bitcoin Wallet supports reading Bitcoin requests via NFC, either from a passive NFC tag or from
another NFC capable Android device that is requesting coins.

For this to work, just enable NFC in your phone and hold your phone to the tag or device (with
the "Request coins" dialog open). The "Send coins" dialog will open with fields populated.

Instructions for preparing an NFC tag with your address:

- We have successfully tested this NFC tag writer:
  https://play.google.com/store/apps/details?id=com.nxp.nfc.tagwriter
  Other writers should work as well, let us know if you succeed.

- Some tags have less than 50 bytes capacity, those won't work. 1 KB tags recommended.

- The tag needs to contain a Bitcoin URI. You can construct one with the "Request coins" dialog,
  then share with messaging or email. You can also construct the URI by hand. Example for Prodnet:
  bitcoin:1G2Y2jP5YFZ5RGk2PXaeWwbeA5y1ZtFhoL

- The type of the message needs to be URI or URL (not Text).

- If you put your tag at a public place, don't forget to enable write protect. Otherwise, someone
  could overwrite the tag with his own Bitcoin address.


BITCOINJ

Bitcoin Wallet uses BitCoinJ for Bitcoin specific logic:

http://code.google.com/p/bitcoinj/

Delta to upstream BitCoinJ:

- Basic support for transaction fees

- Bouncycastle library is still embedded (re-packaged), rather than just declared as a required dependency

About

My wallet Android App - Fork of Bitcoin Wallet for android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published