🦏 An example implementation of the Rhino open-source JavaScript engine in an Android application.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

MOZILLA RHINO - JavaScript Engine

Android Studio Tutorial

Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users. It is embedded in J2SE 6 as the default Java scripting engine.


Follow my blog Post - http://brionmario.com/mozilla-rhino-javascript-engine/

Download the latest version - https://mvnrepository.com/artifact/org.mozilla/rhino

Visit their GitHub repository - https://github.com/mozilla/rhino


In this brief tutorial, I have created a basic activity which accepts an arithmetic expression and once you click the "FIND ANSWER" button, the anwer will be generated using the RHINO JavaScript engine.

NOTE

Put this in the Module Dependencies - compile 'org.mozilla:rhino:1.7R4'


SCREENSHOTS OF THE USER INTERFACE


P:S - The credits belong to the original developers. I'm simply using the library here :D