Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't understand exactly how this works. You have an Python API for controlling the UI, great, but... can you use the full Python capabilities and expect your app to be portable? If yes, How it works? Is the app compiled to Dalvik bytecode when ported to Android for example? Are you restricted to pure Python modules or something?


It works on Pygame for Android library which is the launcher. The code written is in python and cython with bindings to a few Android API's. The compiled code is python object code which runs on the launcher. It is not dalvik bytecode and not portable.


It seems to package the Python interpreter on Android: http://kivy.org/docs/guide/packaging-android.html


I have read a bit about this Python on Android, and it seems that uses Android's NDK, which allows to port C/C++ programs to Android. I wasn't aware that this was possible. I thought that only bytecode was allowed for security reasons.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: