Title: How to install last Electrum version on Android? Post by: rPman on July 19, 2014, 01:32:41 PM Today, electrum instalation script here https://electrum.org/android.html does not work, it can't download file e4a-181zip.
Also, this version too old, as i known, public electrum servers does not work with this yet. I was tried to make own compilation from git source using make_packages (https://github.com/spesmilo/electrum/blob/master/make_packages) script, it successfully make file 'e4a-198zip' and placed to 'dists'. Also, i have installed sl4a_r6.apk (https://code.google.com/p/android-scripting/downloads/detail?name=sl4a_r6.apk&can=2&q=), PythonForAndroid_r5.apk (https://code.google.com/p/python-for-android/downloads/detail?name=PythonForAndroid_r5.apk) and pressed Install button for any plugins and extras inside android python installation (phone android version 4.2.2). After that, i was placed zip file to android sdcard and make my own install script and qr-code: Code: e4a_install.py Installation was successful but e4a.py show error in terminal Code: Error: python-ecdsa does not seem to be installed. Try 'sudo pip install ecdsa' Title: Re: How to install last Electrum version on Android? Post by: dabura667 on July 19, 2014, 03:28:38 PM https://pypi.python.org/pypi/ecdsa
Title: Re: How to install last Electrum version on Android? Post by: rPman on July 19, 2014, 07:55:56 PM Certainly not, this package does not work on this android python installation.
Also, if I can compile python and all needed modules myself using arm gcc and root (but i can't), it does not give me a chance run any GUI applications. This is too complex problem to use this way. 6 months earlier, when I installed an older version (and another mobile version 2.x), everything worked well, I think that something has changed in the source electrum or I do not build it correctly under android Title: Re: How to install last Electrum version on Android? Post by: dabura667 on July 20, 2014, 09:50:21 AM Certainly not, this package does not work on this android python installation. Also, if I can compile python and all needed modules myself using arm gcc and root (but i can't), it does not give me a chance run any GUI applications. This is too complex problem to use this way. 6 months earlier, when I installed an older version (and another mobile version 2.x), everything worked well, I think that something has changed in the source electrum or I do not build it correctly under android I just diffed my ecdsa folder on my android with the link I gave you, and there were maybe two methods added. Other than that, it is exactly the same as the ecdsa I am using on my Android for Electrum. Title: Re: How to install last Electrum version on Android? Post by: rPman on July 20, 2014, 04:37:15 PM 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: Code: AttributeError: 'OldWallet' object has no attribute 'init_seed' Code: dlopen libpython2.6.soelectrum directory /sdcard/electrum/ 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/763 Title: Re: How to install last Electrum version on Android? Post by: dabura667 on July 20, 2014, 05:11:43 PM 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: Code: AttributeError: 'OldWallet' object has no attribute 'init_seed' Code: dlopen libpython2.6.soelectrum directory /sdcard/electrum/ 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/763 I 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. https://i.imgur.com/cUIJgnA.png Code: e4a_install.py Use this script with the S4LA app instead of the QR on the download page. Title: Re: How to install last Electrum version on Android? Post by: rPman on July 20, 2014, 05:36:50 PM i understand you, thanks
|