📜 ⬆️ ⬇️

Packaging of Python-program in APK format

On Habré , the use of SL4A (Android Scripting), an interpreter that runs Android scripts in Python, Perl, JRuby, JS, PHP, etc., has been repeatedly discussed . However, in order for these scripts to work, you need to install SL4A on your phone. Another drawback - you can not pack the application in the format. Apk.

Kivy developers have created a handy tool that helps you create a ready-made .apk with all the necessary Python modules and libraries and your application inside. To create a GUI using OpenGL ES 2.0.

See Python for Android on github , there is also instructions for creating a Python distribution and compiling an APK based on it.
')
Related project: PGS4A .

Source: https://habr.com/ru/post/135902/


All Articles