Android Question Webview and Click Event

jdonth

Member
Licensed User
Longtime User
How do I send (inject?) a Click or Doubleclick event into a webview instance from my B4A code?
Do I need the UltimateWebView or SInterface packages?
I need a code example.
Can anyone help?
Thanks,
--Joe

UPDATE: I solved the problem with using webviewextras:
Dim js As String
js = $"document.getElementById("main").click();"$
extras.ExecuteJavaScript(web,js)


 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…