Search code examples
androidpythoneggsl4a

How to build Python Eggs for Android SL4A?


Does anyone have any tutorial on How I should go about building a Python Egg for installing it in my android phone ? I want to install the library - Hachoir (https://bitbucket.org/haypo/hachoir/wiki/Home) which parses files. The library is completely written in Python. I tried following these steps but in vain - http://code.google.com/p/python-for-android/wiki/BuildingModules

Any help will be appreciated ! Thank you.


Solution

  • First up, make sure you have at least r5 of SL4A, then you can grab a precompiled egg file from here, which you can finally install on the device by using the Install Module function in Python For Android.

    Good luck!