webview

  1. 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
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. HassanProgrammer

    B4J Question SetDOMStorageEnabled method

    Hello I had previously encountered such a problem in Android that when loading a specific link in Webview I encountered the following error: TypeError: Cannot read properties of null (reading 'getItem') in https://Example.com/main-es2015.ef2fddc41b098271fdb4.js (Line: 1) But I solved the problem...
  11. F

    Share My Creation GOPHRite, Gopher client for Android

    Hi, this is my first post in the community and i would like to share an app. made with B4X. I am still in the learning process of the platform, so any advices about the app. are welcome. GOPHRite is a Gopher client for Android devices. It uses a Webview to render the pages, cause i wanted the...
  12. R

    B4J Question Problem With Building Standalone Package

    A project compiles and runs in Debug & Release without problem. However when trying to run a stand-alone package it crashes on open. B4J 9.3 JDK 11.0.1 Libs: JavaObject jFX jRLDialogsX jSQL There is an error evident when running the run_debug.bat.... So just to humour the compiler I...
  13. Kevin Hartin

    iOS Question WebView Formatting

    My app uses webviews to display lightly formatted HTML syncronised from a web server for things like help pages etc. In B4a I use the WebViewSettings library to reduce the text to a reasonable size, as when I add the <meta name='viewport' content='initial-scale=1.0' /> header, it displays very...
  14. abedcode

    Android Question WebView with address bar like ChromCustomTabs library?

    hello everyone, Is there any libraries for B4A so you could have a WebView but with address bar & authenticity of internally opened Chrome browser like the way Instagram & Telegram do it? the ChromCustomTabs library is not the answer because of two reasons: 1- you have no controls over it like...
  15. H

    Android Question click on image in webview

    hi I display a photo on WebView I want to display a specific message to the user when clicked on specific points in the image Like the image below, show a message when the user clicks on the circles. How should I do this?
  16. DarkoT

    B4J Question OpenRoute or OpenStreetMap - how to use?

    Hi guys, I need to create small desktop application which will show the users some direction between two points on map. User need to input first adress and second adress and I will show him the road from start to end point. I found API for this on OpenRoute or OpenStreet Map (okey, basicaly I...
  17. pwnzerjan

    Android Question B4A Webview not fully working

    can someone help me with my WebView the website is not fully loading and when i try it in my Laptop Browser it is 100% Working
  18. A

    Android Question WebView unexpected crash

    Hello In my app, i have a simple webview. It works correctly with 99% of website. But with an online javascript reader for PDF, the webview crash abruptly, immediately or after some minutes. So abruptly there is no mention of bug, crash, failure or error in the B4A logs. I think there is an...
  19. F

    Bug? Webview no show image from google drive

    Hello, i have a app, working with direct dowonload imagen from google drive, now do no work more.. any idea, my new SDK is 30, B4A 11.0 <p><img title="RB=0.1*\beta*RE" src="https://drive.google.com/uc?export=download&amp;id=1E_IMLqp99ephJocra--gsWBvN2eOstva" width="201" height="23" /></p>...
  20. G

    Android Question [Solved] Webview local html + css + js + images

    What I am trying to achieve: - download a zip file from a known URL - that zip file contains a html file + js + css + images (all files in the same folder) - I will then unzip the archive in : rp.GetSafeDirDefaultExternal("MYPAGE") or File.DirInternal - then I would like to open/show that...
Top