使用 Android 手机进行移动开发
我总是在琢磨新的想法,有时我只带着手机。我不久前玩过 ASE,但很难使用有限的编辑器输入大量代码,而且当时只能使用动态语言。我见过 touchqode,我认为能够在服务器上编译和运行是一个很好的概念。
有没有可以直接在android上进行开发的可用工具集?特别是,如果能看到一个完全以 android 为主机的基本 android 开发环境,那就太好了。
I'm always tinkering with new ideas, and sometimes I only have my phone with me. I played with ASE awhile back, but had a hard time typing much code with the limited editor, and only dynamic languages were available then. I have seen touchqode, and I think it's a neat concept to be able to compile and run on a server.
Are there any usable toolsets for doing development directly on android? Particularly, it would be nice to see a basic android development environment entirely on android as the host.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您已经在回答中拒绝了所有这些。 IOW,据我所知,唯一重要的设备上开发是 SL4A(以前称为 ASE)。
请注意,使用 SL4A,您不仅限于它自己的编辑器,因此您可能希望浏览市场,看看是否有您更喜欢的编辑器。
欢迎您开始将 JDK 和 Android 构建链移植到 ARM。这可能需要一些时间。
You already rejected all of them in your answer. IOW, the only significant on-device development that I am aware of is SL4A (formerly known as ASE).
Note that with SL4A, you are not limited to it's own editor, so you might wish to poke around the Market and see if there's an editor that you like better.
You are welcome to start porting the JDK and the Android build chain to ARM. This may take some time.
AIDE 让我们能够编译来自 Android 的应用。看来这一切并没有像一些人想象的那么久。
事情发生了变化,所以我想更新我原来的问题以反映更好的答案。
AIDE lets us compile apps from Android. Looks like it didn't take as long as some thought.
Things have changed, so I wanted to update my original question to reflect a better answer.
考虑到这些设备的局限性,我认为拥有一个成熟的开发环境是一厢情愿的想法。但SL4A+python还是相当神奇的。不是玩具。
SL4A 的一个小改进是使用市场上提供的“黑客键盘”,该键盘可以定制,比其他键盘占用的垂直空间要少得多。对我来说,这带来了很大的实际差异。另外,您可以从计算机上完成大部分脚本编写:adb 有一个端口转发选项,它与 android python 模块和服务器模式下的 SL4A 集成,以便您可以在 PC 上的 python 环境中进行开发,但让 android 的东西在您的计算机上执行电话。您还可以从 adb 进入手机并使用 vi 编辑脚本。然后您可以通过手机进行调整,在更舒适的环境中完成大部分脚本编写。
Considering the limitations of these devices I think it's wishful thinking to have a full-blown development environment. But SL4A + python is quite amazing. Not a toy.
A small improvement to SL4A is to use the "Hackers keyboard" available from the market which can be customised to take much less vertical space than other keyboards. For me, this makes a large practical difference. Plus you can do the bulk of scripting from a computer: adb has a port forwarding option that integrates with the android python module and SL4A in server mode so that you can develop in a python environment on your pc but have the android stuff execute on your phone. You can also shell into the phone from adb and use vi to edit scripts. And then you can do tweaking from your phone, having done most of the scripting in a more comfortable environment.