Android Python编程[关闭]

问题:Android Python编程[关闭]

我可以使用Python为Android编程吗?我在搜索时似乎偶然发现了许多链接…但是它们都不是具体的。

有什么建议?我想为Android编写应用程序,但实际上并不想为此而涉足Java。

PS:我的问题是我是否可以编写适用于Android的功能完善的应用程序。

Can I program for Android using Python? I seem to have stumbled upon many links while searching… however neither of them is concrete.

Any suggestions? I want to write apps for Android but really don’t want to get into Java for all this.

PS: My question is whether I can write proper, full fledged apps for Android.


回答 0

结帐Kivy。到目前为止,他们的工作非常出色,我非常喜欢他们的工作。它仍然缺少一些提供程序,但是他们每天都在增加新的内容。您需要做的第一件事是根据文档提供的内容检查需求。他们创建了一个惊人的输入框架,例如多点触摸或笔处理。他们在内部使用OpenGL ES,因此与应用程序进行交互时,复杂的图形和可视化可以非常快速地运行。他们创建apk的过程也非常简单。

Checkout Kivy. They have done a really great job so far, and I am a big fan of their work. It is still lacking some providers, but they keep adding new stuff to it everyday. First thing you need to do is to check your requirement against what they can offer based on their documentation. They have create an amazing framework for input such as multi-touch or pen handling. They use OpenGL ES internally, as a result complex graphics and visualizations can run very fast when interacting with the the application. Their process for creating an apk is also very straight forward.


回答 1

检查新的Android版Python项目。

编辑:这不是Kivy,这是一个单独的项目,旨在成为可用于其他工具箱的工具链。该架构是模块化的,并且您可以包括用于包含新的python扩展(例如brew,macports,cygwin等)的新配方。

编辑:这不是Py4A,而是python-for-android。

Check the new Python for Android project.

Edit: This is not Kivy, this is a seperate project, intended to be a toolchain usable for other toolkit. The architecture is modular, and you can include new recipe for including new python extensions (as brew, macports, cygwin etc.).

Edit: This is not Py4A, but python-for-android.


回答 2


回答 3

不,目前不行。ASE(Android脚本环境)允许您执行简单的脚本应用,但是您只能用Java编写适当的Android应用。

No, not currently. ASE (Android Scripting Environment) allows you to do simple script apps, but you can only write proper Android apps in Java.


回答 4

是的,可以。检查ASE

编辑:好的,经过评论:我没有正确阅读问题。不,您不能编写适用于Android的功能完善的成熟应用程序,但是无论如何都要检查ASE。这真的是很酷的项目。

Yep, you can. Check ASE

Edit: Ok, after comments: I haven’t read the question properly. No you can’t write write proper, full fledged apps for Android, but anyway check ASE. It is really cool project.