Is a blend of jillcode, luaj, some additional android-specific classes and some custom Lua libraries. Allows to prototype Android apps within Android itself, without requiring the ADT.
Compiles and executes Lua scripts on the fly. The included luajava-like library allows access to a large chunk of Android's capabilities.
It is not possible to sub-class existing java classes and this approach doesn't abstract the Android platform.
A minimal set of functions necessary to interact with the Android
environment.
Instance of the currently running android Activity.
If msec is given, sets the interpreter uptime value to msec.
Otherwise returns the current interpreter uptime. The time unit is
always milliseconds.
Task must be a reference to something the interpreter can
call like a function. If msec is given, task is
scheduled be called as soon as the interpreter's uptime value
reaches the value given by the msec parameter. Otherwise
task will be scheduled to be called as soon as possible. Returns a
task id object on success, nothing on failure.
If task id is given, removes the specified task from the
background execution queue. Otherwise removes all tasks from the
queue.
Very simple cryptography-oriented functions.
Name of the cipher algorithms to use. Defaults to
"PBEWithMD5AndDES".
Name of the digest algorithm to use to check for integrity and
successful decryption. Defaults to "MD5".
Defaults to 64.
Returns a new random password.
Loads cipher text from disk. Returns boolean true and the
decrypted content on success, false and an error message on
failure.
Writes cipher text to disk. Returns boolean true on success,
false and an error message on failure.
Simplified version of the LuaJava API adapted from luaj.
Returns a Lua object linked to the named class on success, nil on
failure.
Returns a Lua object linked to a new instance of the class on
success, generates an exception on failure.
Instantiates and implements some java interfaces.
Compile the project or install the apk, upload the "andlua" folder from "ball.zip" inside your "/sdcard/" and navigate to it using the in-app file selector.