B4J Library [B4X][Web] MiniJS - aeric (first post)    Feb 24, 2026   (2 reactions) Version 0.50 What's New Added AddTernary sub Added AddEventListener sub Added more comments ... B4A Question why B4A.CallSub inside class not work? - Jim2025 (first post)    Mar 27, 2025 ("document.querySelector('.nav-bar').addEventListener('click', event => {B4A....nav-bar').addEventListener('click',function(){B4A.CallSub('clicked',true...(WebChromeClient1)
wve.AddJavascriptInterface(webv, "B4A")
webv.LoadUrl(Address... B4A Question webview - get a bitmap with javascript - TILogistic (first post)    Jan 21, 2023   (1 reaction) see: (addEventListener)
https://www.b4x.com/android/forum/threads/detect-which-element-is-pressed...=addEventListener&product=b4a
and search the internet for what event or method can indicate if the image... B4A Question Download files from WebView (local storage) - max123    Jul 10, 2024   (1 reaction) (); // Resize event listener window.addEventListener( 'resize'...., slice and print with my 3D printer. To start with, this is a simple Javascript code that add to the scene a simple cube (screenshot attached) and then add to the page 2 links, one to export it as STL... ); hemiLight.position.set( 0, 200, 0 ); scene.add( hemiLight... ); directionalLight.position.set( 0, 200, 100 ); scene.add( directionalLight... B4A Question [Supabase] Filter_Ilike - yiankos1    Jan 4, 2024 .cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var....addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script> </div><!... B4A Question I just used Windows Copilot in a truly productive way - "mastering" HTML, CSS and javascript - JackKirk    Apr 1, 2024   (5 reactions) video size when metadata is loaded
mycam1video.addEventListener('loadedmetadata', function...); // Continuously update canvas
}
// Start drawing frames
mycam1video.addEventListener('play... is loaded. You can achieve this by listening for the loadedmetadata event on the video element.
Position...
b4j_raiseEvent('mycam1_takepicture', {'value':mycam1dataURL});
The javascript is fired when... B4A Question WebView: how to disable dragging of links? - Sandman (first post)    Mar 27, 2024   (1 reaction) i++) {
links.addEventListener('dragstart', function(event) {
event.preventDefault... moments.
So, for posterity, the solution was to just add this to the end of the html page (because... B4A Question xHttpServer Upload problem - Blueforcer    Jan 24, 2025 .getElementById('upload-input').addEventListener('change', async (e) => { const...: 'POST', body: formData, onUploadProgress: (progressEvent) => { const percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total); progressBar.style.width = percentCompleted + '%...) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221) at anywheresoftware.b4a.BA$2.run(BA.java:395) at android... B4A Question Permission request in a webview - drgottjr (first post)    May 13, 2024
What can I do ?
not use webview for this.
the full error message you should have received says:
{console.log("Argh! Cannot read data from the NFC tag. Try another one?");controller.abort();reject();});ndef.addEventListener("reading",(data)=>{console.log(`> Serial Number: ${data.serialNumber}`);console.log(`> Records: (${data.message.records.length})`);controller... B4A Question Detect which element is pressed on webview? - Biswajit (first post)    Aug 27, 2020   (1 reaction) .AddJavascriptInterface(jsi,"B4A")
'**Add click event listener**'
Sub webview_PageFinished (Url As String)
wve.ExecuteJavascript("document.body.addEventListener('click', event => {B4A.CallSub('DOMClicked',true, event.target)})")
End Sub
'**On clicking on any... Page: 1   2   3   4   5   6   7   |