webview

  1. X

    Android Question Some Question on Google WebView...

    background:Android14 mobile phone with gms, using google webview seeing it in [Developer Options] When Using WebView with customized WebChromeClient and override function `public void onReceivedTitle(WebView view, String title)` load a HTML url link,and receive title the url without protocrol...
  2. james_sgp

    iOS Question PDF in Canvas Disappears

    Hi, I`m loading a PDF into a Cavas in a WebView; however, the PDF opens (page appears) ...but then immediately disappears! I have attached a sample showing the issue. I can`t find the issue, can someone pls advise? James
  3. Rosin

    Android Question How can i use the webview to play online vedio

    hello!i try yo use the b4a to construct a Paid video parsing app,Emm...I use the Web video parsing interface(https://okjx.cc/),In my test,i try to loadurl like this ...actually,i can see i am in the website,but i can't see any button in the app,if i open the url normally in my edge,it works。...
  4. D

    Android Question Fully Functional WebBrowser with WebView

    I need to make a webview fully functional. In other words I need it to be able to browse any site on the web including login sites like Facebook, Instagram, YouTube etc... I have already implemented forward, back, refresh, navigate to site. I see on FrostCode's WebView Example you can also set...
  5. Hackito

    Android Question WebView Error: ResponseError. Reason: , Response: <!DOCTYPE html>

    Hello. I'm trying to extract parts of web pages and load them into a webview, but for some reason it doesn't work. Please help! Error: ResponseError. Reason: , Response: <!DOCTYPE html> Private Sub CargarReparto Dim http As HttpJob http.initialize("", Me)...
  6. D

    Android Question Webview Error

    I have a webview setup. When I click on a url within the webview it crashes the app. Any suggestions? Here is the error I get: Error occurred on line: 357 (ViewSite) java.lang.RuntimeException: Method: Initialize, Class: uk.co.martinpearman.b4a.webkit.WebViewExtras not matched. at...
  7. M

    B4J Question Webview problem

    If I try to load the simple attached map.html file into a B4J webview this doesn't work. With any browser, yes. The html file contains an OpenStreetMap map with scripts. Can anyone help me? Thanks in advance. My Code Sub Process_Globals Private fx As JFX Private MainForm As Form...
  8. 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...
  9. 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'...
  10. yo3ggx

    Android Question Closing/destroying a WebView when changing orientation

    I have a webview playing a HTML5 remote audio stream. When changing orientation, the activity is destroyed and rebuilt, but audio continue to play in the background. The newly re created webview start playing the same stream that overlaps with the previous one. How can I full close/destroy a...
  11. V

    Android Question WebView & Action

    I Want a code like Dim domain As String = "https://google.com" WebView1.LoadUrl(domain) if WebView1.Url = "https://b4x.com" then 'Do the Action End If Means if in google he open b4x.com then some action start I Don't know how I write it to its work pls help me:)
  12. V

    Android Question If webView something do some action

    I need some code to if WebView redirect too like "https://google.com" do some action like hide app or send notification are else
  13. 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...
  14. 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...
  15. A

    Android Question Google search for WebView

    Hello. My application uses a WebView to view Html pages that I previously stored in a database. Please tell me, is it possible to embed Google search into WebView, so that in addition to displaying Html pages, WebView can still search for the necessary sites? Or maybe there is some other...
  16. M

    Android Question [B4XPages] Upload files with WebView

    Hi everyone, In my project I have a WebView that loads a webpage that has a "Choose File" button. I took a look in the forum and i found this post: Upload files with WebView However... the attached project works, but it's not b4xpages... As soon as i take the code (and the manifest too) to put...
  17. CrunkFX

    iOS Question Block Cookies and/or Cookie Banner in Webview

    Hey there, i´m struggeling with the Apple Approvement Team for using Cookies on an external Website. This Website is a booking-service written in PHP. If the Site is entered for the first time it asks about Cookies (as all sites do). Apple now wants me to implement App Tracking Transparency...
  18. 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...
  19. 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...
  20. rleiman

    Android Question [Solved] - Loading a URL in a WebView

    Greetings everyone, I'm trying out a WebView for the first time and have what probably is a stupid question, but I hope you can be patient with me. :rolleyes: In the designer I added a WebView. In my code, I used the following code to supposedly load an URL into the WebView and match the...
Top