Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a scripting language I can embed into my Java app on android

I am making a game engine that is targeted for the Android platform using Java and would like to embed a scripting language into it. I have tried Jython, LuaJava, and Groovy but none of the .jars that I include into my project to utilize the languages are working. In result, my game engine fails to run.

I am aware that the Android platform compiles the app into java bytecode and then converts it into Dalvik-compatible .dex format, since Android uses the Dalvik virtual machine. So I am quite sure that, sadly, these scripting languages likely won't work for a java app project on Android.

So my question is, does there exist a scripting language that I can embed into my Java game engine that will work on the Android platform?

Thanks.

like image 946
Michael Wojcik Avatar asked Mar 04 '12 07:03

Michael Wojcik


1 Answers

Use DeeLang

It should work for what you are using it for or at least what it sounds like you are using it for.

ref URL: http://code.google.com/p/deelang/

like image 63
aStackofQueues Avatar answered Oct 23 '22 20:10

aStackofQueues