I use the JsBridge library to transfer data from android activity to a webview from js.

I send the string via the method

webView.send("Привет"); 

In the console, I see the following

I / chromium: [INFO: CONSOLE (1)] "{" data ":" Hello "}", source: file: ///android_asset/demo.html (1)

How can I get "Hello" from data in demo.html as a text resource?

    1 answer 1

    So in on the link given by you the same black and white code:

     WebViewJavascriptBridge.callHandler( 'submitFromWeb' , {'param': str1} , function(responseData) { document.getElementById("show").innerHTML = "send get responseData from java, data = " + responseData } ); 

    what doesn't it suit you?