Hello Android Developers.
I have a question and would like to understand it in depth.
I know that to interact from Javascript to Java you have to inject a Java
object using the addjavascriptInterface method in webview.
Here is the problem I am facing.
1. I register a java object using AddJavasc
I am facing some issues while interacting with Javascript code from Java.
the workflow we have is:
1. Add a JavascriptInterface object in my JS.
2. Add a few more Javascripts using webview.loadUrl("javascript:XXX");
3. Firing an event to inform that our Javascript has been loaded and is
ready
2 matches
Mail list logo