Skip to content

An example RingoJS on Android, RingoJS is a JavaScript platform base on Rhino.

License

Notifications You must be signed in to change notification settings

kinpoo/ringojs-android

Repository files navigation

ringojs-android

An example RingoJS on Android, RingoJS is a JavaScript platform base on Rhino.

This example use this fork and rhino-android to dynamically load classes on android/dalvik for RingoJS.

ringojs-android library usage

https://www.jitpack.io/#kinpoo/ringojs-android

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

Step 2. Add it in your app build.gradle:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.github.kinpoo:ringojs-android:0.1'
    implementation 'org.mozilla:rhino:1.7.11'
    ...
}

Step 3. Download app/libs/ringo-core.jar into your app/libs directory, download app/src/main/assets/ringo/ringo-modules.jar into your assets directory, or build them from this fork.

About

An example RingoJS on Android, RingoJS is a JavaScript platform base on Rhino.

Resources

License

Stars

Watchers

Forks

Packages

No packages published