Starting with Android: Java or Python (SL4A)

后端 未结 5 2016
借酒劲吻你
借酒劲吻你 2021-02-01 09:38

I just ordered an Android smartphone and want to start playing around with creating my own applications. Now the question is which language to use, the native Java or Python usi

5条回答
  •  春和景丽
    2021-02-01 10:00

    Consider ising Kivy, if you want to write Android apps with Python. The process of packing script to .apk file is described here.

    The problem is, resulting .apk will be big (~7Mb for 300Kb data). It is obvious, because you need to pack there Python runtime and all libraries.

    Another solution I have heard of, is Pygame for Android, but it works on lower lewel, so you need to draw graphics manually.

    Unfortunately, I have not tried any of this ways yet, but it looks, that I'm going to start using kivy soon.

提交回复
热议问题