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

后端 未结 4 956
南方客
南方客 2020-11-30 13:02

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

4条回答
  •  误落风尘
    2020-11-30 13:33

    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.

提交回复
热议问题