Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.71 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.71 KB

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