We want to thanks Renpy Tom for beeing able to run pygame on android, with his Pygame Subset for Android project.
The changes made from his project are :
The Kivy launcher is an application to run any kivy examples stored on your sdcard from android. Check the Installation on Android.
Your application must be saved into:
/sdcard/kivy/<yourapplication>
Your application directory must contain:
main.py # <-- Your main application file
android.txt # <-- Some indication for running your application
The main.py is the same as your original code. If you want to support android, you must change the __main__ line to:
if __name__ in ('__main__', '__android__'):
YourApp().run()
The android.txt can contain:
title=<Application Title>
author=<Your Name>
orientation=<portrait|landscape>
Missing providers:
Missing features: