Small helper libraries for invoking JavaScript from native code.

iOS and Java

jsext4iosjava — shared approach for calling JS functions from iOS and JVM apps.

Android

If you need the same idea on Android, see android-bsf-api (Bean Scripting Framework).