javascript

  1. walterf25

    B4J Question ABMaterial Charts

    While searching for a library that can be used to display data on a chart using ABMaterial framework, I came across this post here I tried the example provided and it seems to work fine for my purpose, however I need to be able to change the width and height of the chart, I tried changing the...
  2. A

    Android Question Web View - need webview die continue

    I have a web vision, I get out of the application and, when the loaded page passes 20 minutes, the page does not continue, the page stops!
  3. walterf25

    B4J Question Successful Business ABMaterial Framework Stories.

    Hi all, I would like to read from any success stories using ABMaterial framework, has anyone actually either for personal business purposes or for a client built a successful web app that is still currently being used by more than 1000 users on a daily basis. The reason I ask this question is...
  4. S

    Android Question Run local javasxcript file with html button

    Hello, I have a hard about my project. Only I get display in webview html file (not include javascript, css). In my Webview(Html code), the data input and a button include. When I click button, It does not work.So plese help and guide me. (The html, css and jacvascript file within same folder...
  5. yo3ggx

    Android Question HTML5 audio in a webview

    Hello. I have an application that connects to a web page using a hidden webview and then send different javascript commands. That web page, when connected, automatically starts streaming audio. On some Android devices (different Android versions from 5 to and including 13), audio is played, on...
  6. yo3ggx

    Android Question webview - get a bitmap with javascript

    I want to extract the image in a bitmap using a webview and javascript commands. The code on the web page looks like that: <canvas class="mypic" id="mpcanvas0" width="1024" height="100" >test</canvas> The image is dynamically changed. If I try: Dim js As String js = $"B4A.CallSub('pic_cb'...
  7. Mashiane

    SithasoDaisy: Mashy Teaches TailwindCSS using b4x (with eBook)

    Get SithasoDaisy for $15 here. Welcome to the SithasoDaisy world. Check $5 WebApps https://www.b4x.com/android/forum/threads/sithasodaisy-webapps-5-each.145871/ Join on Telegram Get the eBook See it in action on Netlify or See it from a FlipBook SithasoDaisy is a library of components...
  8. walterf25

    B4J Question JavaScript Printer Help

    Hi all, I am still trying to get my cheap printer to work, I have obtained the attached files from the manufacturer, unfortunately my javascript knowledge is very little, How would I go around using this libraries with Abmaterial. I have the following code so far: Dim jsval As String =...
  9. P

    B4J Question Scraping a webpage

    Hi everyone, I am trying to scrape the webpage from a USB dongle for 4g (I want to get the IMEI etc). I have tried the HTTP utils, cURL, and command line to chromium yet each method I have tried and found returns the HTML but none of the javascript generated content. is there a way I can get...
  10. jkhazraji

    Share My Creation Shopping cart : B4j server

    Using a html file which included few lines and many hours of work and toil, a shopping cart web app was made with b4j. All of the transactions and page manipulations and interactive input was made within the code. Remote MS SQL database was used as the data source. This app could be the starting...
  11. N

    iOS Question B4I hide the header , footer, and navigation of the web page that I load inside a web view or wkwebview

    Hi ALL, I'm trying to reproduce in B4I a simple app that I have done on B4X but I have the following Problem. In b4x using the following code, I was able to hide the header, the footer, and navigation control of the web page that I load inside the webview : Private Sub WebView1_PageFinished...
  12. Patent

    B4J Question Difference in JS click() to mouseclick

    Hi community, wanna ask whats the difference (in a B4J WebView) in a real Mouseclick on a Button to one fired programmatically with Dim a as String = $"document.getElementsByClassName("myButton")[0].click();"$ myWebengine.RunMethod("executeScript", Array As String(a)) If i am clicking with...
  13. M

    Android Question Equivalent of arraybuffer.slice(start, end) in B4X

    Hi everyone, i'm trying to porting some javascript (react) code into B4A, but the data.slice(from, to) function is used to create blocks of 512bytes from a larger file. What is the equivalent in B4X? Thanks in advance
  14. JazzPiano

    Android Question Help with keys management

    Hi, Does anyone know how to deal with the Fire tv keys on a webapp that uses webview to navigate through a webpage with touchable images and buttons? The problem is that when dealing with the Activity_KeyPress() to handle the back button and go back or exit the application: Sub...
  15. A

    Android Question Will it work in WebView?

    Hi all. I have an html with JS and CSS - will it work in WebView? <html> <head> <script type="text/javascript"> function Show(hp) { var tbl = null; var id = null; var tblid = ""; id = hp.id; tblid = "t" + id...
  16. P

    Android Question problem with using WebViewExract and javaScript in my code

    Hi, I hope someone can help me My problem is that I want to access the codes of the Instagram Inspect section and receive the caption of the posts, the code is compiled and executed without any errors, but after entering the link and requesting the download, I receive the following errors. codes...
  17. K

    Android Question WebView with Javascript/jquery

    Hi All, Developing an android web view application for the web application http://sctcheck.jayakailas.com. When Deleting an entry in the partymaster, getting delete confirmation along with QUOTED text as below. Just i want only delete confirmation. But in the web application it is showing only...
  18. Sandman

    Monospace: A JavaScript demo in 1021 bytes, winner of the demo competition

    I have an ongoing fascination with how some people can produce impressive results using very little code. In that vein, I thought the forum might find this interesting: MONOSPACE Flip dots with feelings, a JavaScript demo in 1021 bytes, winner of the 1024 bytes demo competition at Assembly...
  19. mcqueccu

    Android Question okhttputils with delayed Javascript

    Hello, I am trying to get direct extracted youtube link from this website savefrom.net, But the httputils completes before the page is fully loaded, so I am unable to get the link. The Link comes behind a download button and it seems its loaded by a javascript I need help in extracting the...
  20. Phayao

    Android Question Mouseover effect by javascript not working in webview

    Hello, I could not find a solution in the forum, so i ask here: I load a html file which contains javascript via webview.loadurl. The javascript defines a mouseover or hover effect on <a> tags: Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("Layout")...
Top