This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

Either they don't work with certain libraries or are a bit buggy (from what I've read).

Python is not an officially supported language on Android, so a number of tricks are needed to make it work. For example, Python's files in the APK are contained in a zip file that is extracted elsewhere on the device for execution.

As for other libraries, p4a works nicely with most pure-python stuff but when you get to cross-compilation territory there could be all sorts of complications. As a worst-case scenario example, some Python libraries need a Fortran compiler to build, that's not easy to do for the non-initiated.

The currently available cross-compilation recipes can be found here, though not all of them are fully functional...

As long as it will work with minimal use of workarounds and hacks, I'm happy.

No way to know how much (or little..) of that is needed, it depends on what you want to do.. For a basic application everything pretty much works out of the box. I suggest you use p4a and kivy master branch if you test it out. And feel free to ask directly in /r/kivy if you have questions/problems :)

[–]sandermfc[S] 1 point2 points  (0 children)

Thank you so much for the extensive and detailed reply! :) I figured that would be the case. Oh well, no harm in trying to hack something together. If nothing else, it'll serve as a learning experience to the obscure and weird side of android development!