Oops, my mistake,
https://pypi.python.org/pypi/ecdsa is a '(pure python) library', compilation not needed.
How i can install easy_install or pip to android?
At now, i do it by hand:
*
https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz - simple copy ecdsa folder from zip file to /sdcard/com.googlecode.pythonforandroid/extras/python/ but i think it's not properly method
*
https://pypi.python.org/pypi/pyasn1 - copy egg file to /sdcard/Download and install it ('Import Modules' button in 'Python for Android' application)
*
https://pypi.python.org/pypi/pyasn1-modules - also install from egg
*
https://pypi.python.org/packages/source/t/tlslite/tlslite-0.4.6.tar.gz - also manual copy tlslite folder from zip to extras
After it, e4a.py started well, but after wallet creation dialog (both method tested - 'create' and 'restore' from seed, via qr-code) i have got a error:
AttributeError: 'OldWallet' object has no attribute 'init_seed'
full log:
dlopen libpython2.6.soelectrum directory /sdcard/electrum/
wallet path /sdcard/electrum/wallets/default_wallet
blocks: -1
saving certificate for electrum.novit.ro
connected to electrum.novit.ro 50002
saving certificate for erbium.sytes.net
connected to erbium.sytes.net 50002
switching to electrum.novit.ro:50002:s
gui callback True
saving certificate for electrum.stepkrav.pw
saving certificate for bitcoin.epicinet.net
connected to electrum.stepkrav.pw 50002
connected to bitcoin.epicinet.net 50002
saving certificate for electrum.thwg.org
connected to electrum.thwg.org 50002
gui callback True
Requesting chunk: 0
saving certificate for h.1209k.com
connected to h.1209k.com 50002
saving certificate for cube.l0g.in
connected to cube.l0g.in 50002
Traceback (most recent call last):
File "/storage/sdcard0/sl4a/scripts/e4a-1.9.8/e4a.py", line 201, in
gui = gui.ElectrumGui(config, network)
File "/storage/sdcard0/sl4a/scripts/e4a-1.9.8/gui/android.py", line 904, in _
init__
wallet.init_seed(None)
AttributeError: 'OldWallet' object has no attribute 'init_seed'
As i understand, this is a dev error, some refactoring is not completed, android.py has not been updated. (i compare some code with gtk.py, too much diffs)
p.s.
https://github.com/spesmilo/electrum/issues/763I replied in the issue. You must use 1.9.8 and NOT master head. Currently in the process of developing a Kivy based Android client, so the Android version is now abandoned until 2.0 comes out (and along with it, an official Play Store version for Android, using Kivy) Please use 1.9.8... which by the way, is actually on the download server, just the download page hasn't been updated.
e4a_install.py
import urllib, zipfile, os
p="http://download.electrum.org/download/e4a-198zip"
n="e4a-1.9.8"
nz=n+".zip"
urllib.urlretrieve(p,nz)
zipfile.ZipFile(nz).extractall()
os.rename(n,'scripts/'+n)
Use this script with the S4LA app instead of the QR on the download page.