By the looks of it according to the documentation of the Android WebView
, which I currently assume (without having resource to the source) to be behind TWebBrowser
, you'd need to pull out the underlying Android WebView
and call its add JavascriptInterface()
method (documentation here).
Whether anyone's already done that, I don't know. But that looks to be the requirement. The next step is working out how to access the underlying WebView
. I'd imagine that is tucked away in the Android implementation unit for the web browser, so that will be tricky, and may require you to modify the source files.
Anyway, hopefully that gets you started.