2 Answers
+ 1
First of all, let's look at how Python gets to work under Android ā a tool called, oddly enough, python-for-android. Its main function is to create a distribution-a project folder containing everything you need to run your application. More precisely, the interpreter itself, Kivy and the libraries on which it depends: Pygame, SDL and several others. The distribution also includes a Java loader that displays OpenGL and acts as an intermediary between Kivy and the operating system. Then you add to all this your scripts, settings like icon and name, compile with Android NDK and voila-APK with your app ready!