Creating Android apps without Java

落爺英雄遲暮 提交于 2020-01-10 22:27:44

问题


I'd like to start creating Android apps but I don't like Java. I read that scala can be used to do it. Are there another option?(Clojure?)

I'm a Python/Django developer so it would be great to learn a pretty different language.


回答1:


At this point Scala is the one that is most mature..I wanted to try groovy myself but its not even out of alpha..

Plus Scala on android has docs..:)




回答2:


It's not hard to do with Mirah (formerly Duby), a very young language based on Ruby that compiles to bytecode that's basically indistinguishable from Java's, but adds some great new features like closures, type inference, and obviously a Ruby-like syntax. It's particularly well-suited for Android because it has no runtime or standard library (it uses compiler plugins instead) outside the JDK, whereas basically all other JVM languages bring along a lot of baggage, especially languages that weren't designed to target the JVM (like Ruby and Python).

http://github.com/technomancy/Garrett

Much nicer than writing Java!




回答3:


for clojure development a useful tutorial: http://riddell.us/ClojureAndAndroidWithEmacsOnUbuntu.html

Clojure gets a LOT of benefit from android-2.2's JIT compiler and has not really been widely adopted on previous versions.




回答4:


Appcelerator Titanium is an awesome environment for using web-ish skills (like HTML, CSS, and JavaScript) to build native apps for Android (and iPhone, and desktops, etc.). For example, the gang at Intridea have made several popular Android & iPhone apps with Titanium Mobile, including the OilReporter app that has been used for gathering data on the extent of the Gulf oil spill.




回答5:


If you use Python, maybe SL4A (Scripting Layer for Android) is a good choice.

You could write python script that runs on Android and use Android API, but it also has a drawback that you need install Python/SL4A runtime library on your Android device.




回答6:


In addition to the other solutions listed here previously, you have:

  • PhoneGap
  • Rhodes
  • AIR (pre-release)
  • AppInventor
  • Clojure



回答7:


Another immature implementation is JRuby/Ruboto: http://blog.danieljackoway.com/first-ruboto-release.html



来源:https://stackoverflow.com/questions/3681784/creating-android-apps-without-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!