diff --git a/client/ANDROID b/client/ANDROID deleted file mode 100644 index 0f20289d..00000000 --- a/client/ANDROID +++ /dev/null @@ -1,33 +0,0 @@ -INSTALLATION INSTRUCTIONS FOR ANDROID - - -1. Install sl4a and py4a : you will need at least revision r5x12 of sl4a - -To install these APKs, just visit the links below with your phone and -click on the apk link, or scan the qr code - -sl4a: http://code.google.com/p/android-scripting/wiki/Unofficial -py4a: http://code.google.com/p/python-for-android/downloads/detail?name=PythonForAndroid_r5.apk - - - -2. copy the following files in /sdcard/sl4a/scripts: - -bmp.py -electrum4a.py -interface.py -mnemonic.py -msqr.py -pyqrnative.py -ripemd.py -version.py -wallet.py -aes (directory) -ecdsa (directory) - -Note: The aes and ecdsa directories are not included in the git -repository. You will have to find them on your system, or you can -find them in the distributed version, Electrum tar.gz or Electrum.zip - - -3. to run the application, open sl4a and click on electrum4a.py diff --git a/client/docs/android.html b/client/docs/android.html new file mode 100644 index 00000000..1aed1a47 --- /dev/null +++ b/client/docs/android.html @@ -0,0 +1,60 @@ + + +
+

Electrum for Android

+ +This page explains how to install Electrum on Android devices.

+ +Please note that Electrum is not distributed as a binary package, but +as python source code; this gives users the possibility to see what +the code is doing, and to check that it does not contain malware. The +downside is that installation is slightly more complicated than +downloading an app on the Android market, but it remains very +simple.

+ +It is possible to print this page on paper and to install everything from +QR codes. If you encounter problems, you may find help at + +this link. + + +

1. Download and install Google Scripting Layer for Android

+ +You can get +it here, +or by scanning the following qr code:
+ + + +

2. Download and install Python for Android

+ +You can get +it here, +or by scanning the following qr code:
+ +
+Once you have installed the apk, launch the Python for Android application and click 'install' + +

3. Download the Electrum install script

+ +Download e4a_install.py and install it in your sl4a/scripts directory. +You can do it manually, or from QR code, as follows: +
+1. Launch SL4A.
+2. Press the Menu button.
+3. Tap Add.
+4. Tap Scan Barcode.
+5. Scan the following QRcode:
+
+ +
This will install a script named e4a_install.py
+ +

4. Download and install Electrum

+
+1. Tap e4a_install.py: it will download and install a directory named "Electrum-0.43d"
+2. To launch Electrum, visit the "Electrum-0.43d" directory and tap 'electrum4a.py'
+
+ + diff --git a/client/mnemonic.py b/client/mnemonic.py index 95079921..82d26245 100644 --- a/client/mnemonic.py +++ b/client/mnemonic.py @@ -1675,7 +1675,7 @@ def mn_decode( wlist ): w2 = (words.index(word2))%n w3 = (words.index(word3))%n x = w1 +n*((w2-w1)%n) +n*n*((w3-w2)%n) - out += '%x'%x + out += '%08x'%x return out