TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Would you use a language other than Java for an Android app?

7 点作者 mistrQ超过 14 年前
As part of my CS degree, one of my courses involves developing an Android application that helps new students choose their courses and generally familiarize themselves with the university. This is sponsored by Google.<p>It's recommended we use Java with the Eclipse IDE. I'm not a big Java fan, I know it's solid but I find development time slow.<p>However can I realistically use ruby or html5/css/javascript or anything a bit more interesting (which may also make me stand out)?<p>I have seen phonegap, appcelerator and ruboto but I don't know if they are stable enough or there is enough tutorials/documentation to risk my course on.

2 条评论

TomasSedovic超过 14 年前
You can use the Android Scripting Environment[1] which supports Python, Perl, Ruby, Lua, JavaScript, Tcl and things you've probably never heard of before. Their FAQ says you can build APKs too.<p>There is a Clojure port for Android[2], and I hear you can compile Scala programs as well[3].<p>If you're a CS student, you may find Scala interesting (it's a bit similar to Haskell).<p>Of course, straying from the well trodden path will give you more freedom but you'll get scratched along the way. Which is probably a good thing.<p>[1]: <a href="http://code.google.com/p/android-scripting/" rel="nofollow">http://code.google.com/p/android-scripting/</a><p>[2]: <a href="http://github.com/remvee/clojure" rel="nofollow">http://github.com/remvee/clojure</a><p>[3]: <a href="http://stackoverflow.com/questions/476111/scala-programming-for-android" rel="nofollow">http://stackoverflow.com/questions/476111/scala-programming-...</a>
jp超过 14 年前
JRuby sounds risky on Harmony. The people behind it focus on J2EE and Rails.<p>The Eclipse Android plugin is solid and comes with a user interface builder. Not the best tool in the world, much worse than Microsoft Blend but on par with Samsung Bada for Eclipse. Eclipse really is a fantastic IDE.<p>Remember that multitouch is the big feature and that all helper API´s are Java. This might bite you in the ass later in the project if you go the "interesting" route.