See these/three/answers (on stackoverflow) regarding @CharlesOliverNutter 's Ruby-like Mirah language that runs on the Dalvik VM.
Using mixed Java/Ruby code in an Android app?
문제
Is it possible to write part of the Android app in Ruby and then, using JRuby and Android Tools, compile the code to run on Dalvik VM? I don't need any run-time support for interpreting Ruby code, just to run one Ruby module. It would be nice if the compiled code is minimal, to not drag along the entire Ruby standard library.
How to configure some IDE (like Eclipse) and Android Tools to support that?
해결책
다른 팁
Have a look at Ruboto.
Some time ago I was working on a debug lib for android that was using it but I got out of time. I looked at the ruboto-irb source code a lot.
The major downside I came up is that it needed to have ruboto installed on the device.
제휴하지 않습니다 StackOverflow