Scriptable Apk Page

But a new paradigm has been quietly gaining traction: .

Now in your Lua script (loaded from assets or /sdcard/script.lua ): scriptable apk

public int add(int a, int b) return a + b; But a new paradigm has been quietly gaining traction:

Expose Android APIs to the script engine. This is the critical part – you must define a Java object that the script can call. int b) return a + b