Creating Android apps without Java

前端 未结 7 1941
予麋鹿
予麋鹿 2021-01-04 02:26

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 dev

相关标签:
7条回答
  • 2021-01-04 02:42

    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.

    0 讨论(0)
  • 2021-01-04 02:49

    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..:)

    0 讨论(0)
  • 2021-01-04 02:54

    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!

    0 讨论(0)
  • 2021-01-04 02:54

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

    • PhoneGap
    • Rhodes
    • AIR (pre-release)
    • AppInventor
    • Clojure
    0 讨论(0)
  • 2021-01-04 02:59

    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.

    0 讨论(0)
  • 2021-01-04 03:07

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

    0 讨论(0)
提交回复
热议问题