How to intercept the webview response in android -


i have html form in webview, when tap button on it, send request server , server responds accordingly. want intercept server response in android.

you have use webviewclient & override methods":

webview.loadurl(url); webview.setwebviewclient(new webviewclient(){ @override         public void onpagefinished(webview view, string url) { // write code here } //some more methods  }); 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -