I want to know if javascript function can be executed from java. Basically, I have a javascript function to which I want to pass a string and then get the output from this function.
If possible, how to do it?
EDIT -
I could not find a solution to this question, what I did was to rewrite all javascript code in Java. But I guess Rhino ported to Android should do the trick. If someone tried, send a solution.
source share