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...
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...
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'...
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...
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:)
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.