Can anyone please give an example for WebView.InitializeWithCustomConfiguration ?? as from b4i 6.5 WKWebView is used as inernal WebWiew library
Is it possible to force this way the WebView will ignore Selfsigned certificate error or better to create handler for SSL errors and any other errors...
Hello dear friends
I want to touch EditText in WebView when touched inside the app Edit Text.
But I can not do that, Please guide me !
Thank you in advance for your effort .
I have a web app (written in PHP) which is accessed by a WebView in my B4A app.
I need the user to select a file (like PDF) from his phone and upload it to my web app via form POST as multipart/form-data.
Note that the file is outside my app's assets / internal directories.
I can't seem to...
I have two webviews (webview1, webview2) on the form, one to show the website content and the other one to show the user avatar. I noticed that when I call webview.loadUrl from a button, then the session terminates (and I need to sign in) however if I close the app and reopen, then the session...
I cannot display any webpages from the weather site Wunderground in a webview. The webpage loads but then switches to a solid white screen. I have tried using chrome client as well but no luck. The sites display properly in PC browsers and in other browsers on android. Sample URLs are...
Hi everyone,
my colleague wrote a webapp with visual studio that allor the users to login to save data on a database and show a confirmation message, and it works correctly via the browser.
I've write an app with B4A that just load this webpage in a webview so i can easily share the apk with...
I have a legacy project in which the main form and a modal form (for displaying a help screen) were designed in Scene Builder. Both contain WebViews. Being first developed under Java 8, I used Launch4j to produce the executable.
However I had to make a minor update and having now moved to Java...
Hi Everyone, I know how to make unsecured calls to specific domains using
#PlistExtra: <key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><false/>
#PlistExtra: <key>NSExceptionDomains</key><dict>
'list the excluded domains (example.com and b4x.com)
#PlistExtra...
Here is the code I am trying to use. I never get any file.
WVLetter is the WebView.
Dim WVPic As Bitmap = WVLetter.CaptureBitmap
Dim Out As OutputStream
Out = File.OpenOutput(File.DirDefaultExternal, "TestHTMLPic.png", False)
WVPic.WriteToStream(Out, 100, "PNG")
Out.Close...
Hi All
I am trying to make a very simple application that only runs a website in WebView from a local html file in the DirAssets directory. The website contains javascripts that work in my application, except for the Websocket connection options. All scripts from the file work correctly...
Hello! How i can use webview as standart browser with all perrmissions?
Need use html5 (camera, geoposition) and file uploading.
It's a possible (SDK 28)?
Any examples with all of this permissions (camera, geo, uploading in one :) ))?
Excuese for my English.
Hi, I am using this wonderful Webreader library from Informatix https://www.b4x.com/android/forum/threads/epubreader-webreader.72560/, but I need to access the onPageFinished event of the underlying Webview. What I want is to use a WAIT FOR sentence to ensure that a page is fully loaded before...
in AndroidStudio in WebView, I hide the (+) (-) Zoom Controls UI buttons with :
// in AndroidStudio onCreate() :
private WebView webView;
// ..
// hide +- buttons
webView.getSettings().setDisplayZoomControls(false);
How to hide it in B4A ?
Hi,
showing a remote URL with a URI fragment in a WebView works fine. For example the URL https://www.b4x.com/android/help/views.html#webview_loadurl is shown in a Webview.
Using a local saved html file with framents does not work. Is there any way to show something like...
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")...
In B4A, a link which in a normal browser opens in a new tab, just opens in the same webview. In other words, it ignores the target="_blank" attribute.
In B4i, the webview instead ignores the link completely. It doesn't open.
Right now my fix is:
Private Sub wv_PageFinished (Success As Boolean...
Hi. I'm trying to display a PHP file from (XAMPP Local server) in a webview but i get nothing to show. Is there something i'm missing? I Should mention that the PHP page utilizes CSS and Javascript.
Also, the PHP file is just a table that displays records. Is there a better way to do this...