Search code examples
javascriptandroidscriptengine

Reference javax.script.ScriptEngine in android or evaluate a javascript expression


Is it possible to reference the javax.script.ScriptEngine library when developing an android application? If not is there anyway possible to evaluate a javascript expression in android?


Solution

  • javax.script.ScriptEngine is not a default part of android, but you could easily jar up any libraries you need(assuming the size is reasonable, I'm not sure) and include them in your project.