News for hackers. Stuff that matters.
Re:Python on Android? First impressions of Kivy by samuel on Sunday October 21, 2012 @02:28AM (#4679162)
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?
Re:Python on Android? First impressions of Kivy by realrocker on Sunday October 21, 2012 @07:22AM (#4679463)
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.
Re:Python on Android? First impressions of Kivy by stefantalpalaru on Sunday October 21, 2012 @04:43AM (#4679283)
It seems to package the Python interpreter on Android: http://kivy.org/docs/guide/packaging-android.html
Re:Python on Android? First impressions of Kivy by samuel on Sunday October 21, 2012 @09:22AM (#4679654)
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.