构建应用程序的使用Python的Andr​​oid [英] Building apps for Android using Python

查看:132
本文介绍了构建应用程序的使用Python的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我主要程序在Python和总是试图避开爪哇(没有特别的原因,真的)。现在我发现自己在一个位置,我必须建立针对Android的应用程序。

I primarily program in Python and have always tried to steer clear of Java (no particular reason, really). Now I find myself in a position where I have to build an app for Android.

我的问题是,是否有在速度,资源消耗,获得硬件功能等,如果我建立在Python应用程序,使用SL4A或Kivy或其他一些平台方面的任何内在的区别(我还需要探讨这些选项详细)?或者我应该下载SDK套件,去学习,以构建应用程序为Android独占?

My question is, is there any inherent difference in terms of speed, resource-consumption, access to hardware features etc if I build the app in Python, using SL4A or Kivy or some other platform(I still need to explore those options in detail)? Or should I Download the SDK Bundle and go about learning to build apps for Android exclusively?

推荐答案

从我可以告诉,无论你提到的项目是为构建原生Android应用程序。如果你是用Jython和Android真正懂行的,也许你可以欺瞒的Jython,使本机应用程序,但既然你提到,你从来没用过Java中,这是不可能的。不幸的是,试图做到这一点的唯一项目是死的(而变成SL4A,也许?)。

From what I can tell, neither of the projects you mention is meant for building native Android apps. If you were really knowledgeable in Jython and Android, maybe you could finagle Jython to make native apps, but since you mention that you've never used Java, that's unlikely. Unfortunately, the only project that attempted to do it is dead (and turned into SL4A, maybe?).

所以TL; DR,如果你想完全天然,我 - 不能-相信-it's而不是Java的经验,你别无选择。如果没有,你应该指定究竟你wan't完成,也许Python是足够好了。

So TL;DR, if you want completely native, I-can't-believe-it's-not-Java experience, you have no choice. If not, you should specify what exactly you wan't to accomplish, maybe Python is good enough.

这篇关于构建应用程序的使用Python的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆