是否有可能使用Lua脚本在Java的Andr​​oid项目? [英] Is it possible to use lua scripts in a java android project?

查看:166
本文介绍了是否有可能使用Lua脚本在Java的Andr​​oid项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能调用Lua脚本从Java code为Android系统?我发现脚本层Android和我一直在玩我的装置,但它是真正有用的,如果我可以从我的Eclipse项目叫Lua脚本。我知道这是可能的,如果我开发的NDK,但我不希望走那条路(Java是太漂亮)。 提前致谢。

Is it possible to call lua scripts from within java code for the android system? I discovered the Scripting Layer for Android and I have been playing with it on my device, but it would be really useful if I could call lua scripts from within my Eclipse projects. I know that this is possible if I developing on the NDK, but I have no desire to go that way (Java is just too nice). Thanks in advance.

推荐答案

中的Lua除preTER不随Android操作系统。因此,您可能需要SL4A或者你需要自己通过NDK整合它。有没有其他可能的神奇在这里。对不起!

The Lua interpreter is not shipped with the Android OS. Hence, you either need SL4A or you need to integrate it yourself via the NDK. There is no other possible magic here. Sorry!

这篇关于是否有可能使用Lua脚本在Java的Andr​​oid项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆