开发者

What's the best way to add scripting to an Android app?

I have an XML based file format that I'm using to store and load instances of objects. I'm interested in adding some scripting su开发者_Python百科pport to those objects so that they can respond to events.

That said, I also don't want to cripple performance. Are there any well known scripting options for Android - maybe even ones where while loading, I can pre-compile and cache the scripts?


Take a look at http://code.google.com/p/android-scripting


At present it looks as though there are limited options to have a scripting language pre-compile.

Another approach I might look into is seeing if I can use dynamically loaded classes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜