Android Question Call a b4x sub in ultimate webview 2

kohlenach

Member
Hi,


On my website I use javascript to call a b4x sub : (webview)

B4X.CallSub("Log_TextToB4a", true, result['id_place']);


How I do this with Ultimate Webview2 ?

Thanks

rgs
J.
 

kohlenach

Member
I solved the problem.

B4X:
    jsi.Initialize  'Class globals : Private jsi As UltimateJavascriptInterface               
    
    UltimateWebView1.addJavascriptInterface(jsi, "B4X")
 
Upvote 0
Top