Q:

How to postMessage to a webview inside a native android app?

I want to open a web view inside an android app and post a message to that window like we do window.postMessage in the browser.
How can we do that with web views inside an Android app?

A:

Just call 
WebView.loadUrl("Javascript:window.postMessage")

if i'm not mistaken.

