Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any language other than Java that will work as ubiquitous on mobile? [closed]

I'm trying to write a rogue-like game for my blackberry and hopefully any other phone that supports some sort of JVM.

Because I use Java in my job I'm looking to write the game in another language but I cannot find a language that will work on multiple phones.

Am I stuck with Java?

like image 428
Adam Gent Avatar asked Dec 22 '25 07:12

Adam Gent


2 Answers

If you're programming for Android, you could for example use Scala, see Scala on Android. Scala compiles to Java bytecode. There are also other languages which can be compiled to Java bytecode; I don't know how well-suited they are for Android programming.

like image 190
Jesper Avatar answered Dec 23 '25 19:12

Jesper


You could try to use another language for the Java platform. Unfortunately you'll be rather limited there as well, because J2ME is based on a rather ancient version of Java SE and most modern languages for the Java VM need either Java 5 or at least Java 1.4.

like image 20
Joachim Sauer Avatar answered Dec 23 '25 21:12

Joachim Sauer