Hello Fred,
great to know pyserial is working now!
Thanks also for the workaround solution sketch.
I miss some information to get it running in my environment.
Sorry I'am new to this and hope you can give some hints how to proceed.
That's what I did:
1. Comented out "lib-dynload/termios.so" line within " ../python-for-android/src/blacklist.txt"
2. Added "pyserial-2.6-py2.6.egg" into the ../python-for-android/src/buildlib.
Comment: Previously I created a serial-0.1.win32.kex extension, which seems to work.
3. Downloaded the "Python-2.7.2-android.patch" and placed it into “../python-for-android/recipes/python/patches”.
Comment: Did I get the right patch? “http://android-python27.googlecode.com/hg-history/bcee3f88e8495e3a6695b6a1004828155db01937/python-build/patch/Python-2.7.2-android.patch”
4. Running "distribute and build. This produced an .apk which still complains "missing link to termios.so" showed by “>adb logcat.
I don't know if it is sufficient to place a patch into the patch-dir to apply it?
Thanks
Ralph Zacharias
Hi,
Multiprocessing is not gonna to work, because android have also their
own limitation, and the process seperation is not working the same at
all. fork() is not prohibed, but you can find on the net that lot of
android-experts are saying you should not use it. Android services is
the right way to do, or threads. But not multiprocessing.
Sqlite 3 should work, if not, then report the issue. And maybe try to
help for that. As the python-for-android project said:
http://python-for-android.readthedocs.org/en/latest/faq.html#sqlite3-so-not-found
Pyserial is not a cpython module, so no, it's not included. If
compilation is required, then submit a recipe and/or report an issue
about it.
Don't loose your hope, we can make the world better :)
Mathieu
Le 12/04/2013 12:08, Yurij Mikhassiak a écrit :
> Hm.. can anybody share *pyserial* module wich will work with kivy?
>> Also latest kivyluncher can't import *sqlite3*. Module not found. If I
> I tried to use one from py4a but problem with termios still present.
>
> bring my linux sqlite3 module to my app project it has some internal
> import problems ( can't import _sqlite3 in dbapi2.py).
>
> Please help! I am so sad! I wrote CNC controller app. On linux laptop
> everythyng works ok but on android no multiprocessing, pyserial,
> sqlite.. I thought all builtin cpython modules are supported on android
> too :(
>
> Regards, Yurij
>
>
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google
> Groupes Python For Android.
> Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le
> concernant, envoyez un e-mail à l'adresse
> python-androi...@googlegroups.com.
> Pour plus d'options, visitez le site
> https://groups.google.com/groups/opt_out .
>
>
--
Vous recevez ce message car vous êtes abonné à un sujet dans le groupe Google Groupes "Python For Android".
Pour vous désabonner de ce sujet, visitez le site https://groups.google.com/d/topic/python-android/VlcNlF6R4lE/unsubscribe?hl=fr.
Pour vous désabonner de ce groupe et de tous ses sujets, envoyez un e-mail à l'adresse python-androi...@googlegroups.com.
Hi,
Multiprocessing is not gonna to work, because android have also their
own limitation, and the process seperation is not working the same at
all. fork() is not prohibed, but you can find on the net that lot of
android-experts are saying you should not use it. Android services is
the right way to do, or threads. But not multiprocessing.
Sqlite 3 should work, if not, then report the issue. And maybe try to
help for that. As the python-for-android project said:
http://python-for-android.readthedocs.org/en/latest/faq.html#sqlite3-so-not-found
Pyserial is not a cpython module, so no, it's not included. If
compilation is required, then submit a recipe and/or report an issue
about it.
Don't loose your hope, we can make the world better :)
Mathieu
Le 12/04/2013 12:08, Yurij Mikhassiak a écrit :
> Hm.. can anybody share *pyserial* module wich will work with kivy?
>> Also latest kivyluncher can't import *sqlite3*. Module not found. If I
> I tried to use one from py4a but problem with termios still present.
>
> bring my linux sqlite3 module to my app project it has some internal
> import problems ( can't import _sqlite3 in dbapi2.py).
>
> Please help! I am so sad! I wrote CNC controller app. On linux laptop
> everythyng works ok but on android no multiprocessing, pyserial,
> sqlite.. I thought all builtin cpython modules are supported on android
> too :(
>
> Regards, Yurij
>
>
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google
> Groupes Python For Android.
> Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le
> concernant, envoyez un e-mail à l'adresse
> python-androi...@googlegroups.com.
> Pour plus d'options, visitez le site
> https://groups.google.com/groups/opt_out .
>
>
--
Vous recevez ce message car vous êtes abonné à un sujet dans le groupe Google Groupes "Python For Android".
Pour vous désabonner de ce sujet, visitez le site https://groups.google.com/d/topic/python-android/VlcNlF6R4lE/unsubscribe?hl=fr.
Pour vous désabonner de ce groupe et de tous ses sujets, envoyez un e-mail à l'adresse python-androi...@googlegroups.com.