1

I have an application that executes JavaScript in a webview with this code and it works fine:

ivWeb.loadUrl(url);

I will be receiving some JavaScript code as a text string. Is there some way to execute that?

1 Answer 1

2

call:

ivWeb.getSettings().setJavaScriptEnabled(true);
Sign up to request clarification or add additional context in comments.

1 Comment

I am doing these, but it still doesn't works. I can load the code in a HTML from URL and it works, but if i receive and put the code in a html, the code doesn't play.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.