call back variable from webview

SCIS

Active Member
Licensed User
Longtime User
I'm not sure, but I think you need to declare the variable under Sub Process_Globals instead of Sub Globals.

Greetings,
SCIS.
 
Upvote 0

warwound

Expert
Licensed User
Longtime User
Look at WebViewExtras and it's addJavascriptInterface method.

The javascript interface allows your web page javascript to call methods in your b4a code and pass values to those methods.

Martin.
 
Upvote 0

sanjibnanda

Active Member
Licensed User
Longtime User
Look at WebViewExtras and it's addJavascriptInterface method.

The javascript interface allows your web page javascript to call methods in your b4a code and pass values to those methods.

Martin.

fantastic, i never knew that this possible...
worked like a charm..

its not wonderful but warwounderful...

thanks and regards

sanjib
 
Upvote 0
Top