This is with reference to: https://www.b4x.com/android/forum/threads/persist-tabstrip-through-orientation-change.104100/#post-652854
How do I use StateManager to preserve a WebView through orientation change. In particular I need to preserve the webview backforward history. I have attached a...
I would like to save the backforward history of a webview.
Getting the history is trivial with:
Dim wve As WebViewExtras
Dim backforward As WebBackForwardList
backforward = wve.CopyBackForwardList
What I would like to do is copy that backforward history to another webview.
There does...
The time has come for me to beg for help.
I have read through the forum and have discovered several posts of people complaining that the WebView is not updating content because it is being cached. However, none of the solutions posted seem to work for me, as either nothing changed or the app...
Many banner add networks redirect visitors to another website.
In my app I need to create a history manually for various technical reasons.
These redirects are ending up in my history. How can I detect the final Url that a page redirects to and then just put that Url in my history.
One...
My activity has more than one webview. How do I determine which webview triggered the Page Finished event?
Sub myWebview_PageFinished(Url As String)
Log("myWebview Attributes")
Log(Url) 'This is the right url
Log(myWebview) 'This is the wrong webview
End Sub
It looks like the...
Activity.LoadLayout("Layout1")
WebView1.LoadUrl("https://europlusfrontb2b.cangooroodns.com.br/")
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout1")
Dim https As String...
Hi,
I've been trying to upload a file from a webview but when I click on "Choose file" nothing happens.
I've searched on the Internet and it seems like I should override the method "openFileChooser" but I'm not sure how to (or if I can) do that on B4A...
I followed this thread
https://www.b4x.com/android/forum/threads/how-to-go-back-in-webview-and-how-to-download-pdf-file.66546/
And my code is:
Sub WebView1_OverrideUrl (Url As String) As Boolean
If Url.EndsWith(".pdf") Then
Dim j As HttpJob
j.Initialize("pdf", Me)...
I've developed a few small Apps in B4A, but I'm conscious that I need to place them on iOS as well...
I'm working towards a game, with HTML5, Javascript and using Babylon.js
Has anyone converted a WebView from B4A? If so can they let me know if they have been able to successfully convert the...
hello,
I am currently playing with webviews, but fail to click a button.
It is a simple html and php file, both limited to the most necessary, with an input field and a submit button.
I can write into the field using webviewextras, but the button is not triggered.
can someone possibly tell me...
it seems that webview can not display pages from Node-RED server (v0.19.4). https://nodered.org/
it looks ok in chrome browser but at webview it is just white.
example page in chrome browser:
Hi all,
I found a way (in a somewhat accidental) to run the file upload in a WebView.
I have used WebViewExtras and WebViewExtras2, but in the .b4a project file I have declared FIRST WebViewExtras2 and THEN WebViewExtras .
When, the code are whis:
Sub Globals
'These global variables will...
Hello
I have a webview that i give a refresh every 10 seconds
When a user is on that page and it is scrolling down all work well
But when the timer activates the page will reload but starts at the top of the page
how can i set it that when a page reload the page stay on his position?
Or is...
Hi. I'm creating an app that connects to a main device and duplicate what the main device is doing (mirroring). I took the MJPEG_CCTV project and modified to send screenshots. In Windows via web browser when I connecto to the URL works perfectly. But when I use WebView is doing nothing. I...
Hi All,
I'm following this thread https://www.b4x.com/android/forum/threads/b4i-and-paypal.90096/
And i don't know why in a single Webview i'm not able to visualize the credit card payment option:
I have tried the same html code in different browsers on computer(explorer and chrome so far)...
Hello,
I like to display greek words from an sqlite DB in a webview, using <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> in the head. But that seems to change nothing.
Most characters are shown, but some are just left out, especially those with a tilde and accent as \...
Hello every one.
in the folloowing code I use WebviewExtras2.AddJavascriptInterface to call a sub from B4a .
but it never works , and I cant figure out the problem with this code and why the 'MyFunction' never gets reached
Also I'm not sure about the first parameter to the...
I am trying to display a webpage in a webview.
webview1.loadurl("http://www.yahoo.com")
When the page loads, it extends beyond the right edge of the webview. Is there a way to get the webpage to render resized to the dimensions of the webview object?
hi,
my english is not so good..
someone knows how to do that when i press the back button(on my device), in the webview it will return back(to the before-last page).
thanks
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.