username_987
Member
Please help me with getting javascript to run with webview, I added chrome client yet javascript never runs, only HTML runs
If you got an example project that runs javascript successfully please provide it
My code is as the following:
Thank you in advance
If you got an example project that runs javascript successfully please provide it
My code is as the following:
B4X:
Sub Globals
Private w1 As WebView
Private WVE As WebViewExtras
Private DWCC As DefaultWebChromeClient
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout")
Activity.Initialize("cl1")
DWCC.Initialize("WebViewClient")
WVE.Initialize(w1)
WVE.SetWebChromeClient(DWCC)
WVE.LoadUrl("https://..........")
End Sub
Thank you in advance