Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I program for android using any JVM language?

Can I use other JVM languages besides Java (e.g. jruby, jython, clojure) to program for android, or is it java only?

There was a similar question asked over a year ago but I wasn't sure if there'd been any change since then.

like image 614
rampion Avatar asked Sep 09 '25 19:09

rampion


1 Answers

Check out these links:

  • Scala 2.8 on Android
  • Android examples in Scala
  • Clojure on Android
  • Ruboto - An IRB application for JRuby on Android
  • Android Scripting (Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl)

However, I am unaware of any prominent applications that have been coded in any of these languages. The examples I've seen fall more into the "proof of concept" category. While the cool factor is high, I still don't see these languages as a viable tool for serious Android developers. I'd love to see someone prove me wrong though!

It seems like Scala is the closest to getting there right now.

like image 89
dbyrne Avatar answered Sep 12 '25 10:09

dbyrne