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...
Hi
I'm loading a local html in a webview, but the webview is extremely slow. I tried adding hardware accelerating to manifest, and everything else found in forum. But none of them worked.
I uploaded my project. if that helps.
Also there's only a webview in my activity. nothing else
This is...
Getting and setting the user agent
In B4A I can set get and the user agent using using Reflector:
Dim r As Reflector
r.Target = webview
r.Target = r.RunMethod("getSettings")
' Get user agent
userAgent = r.RunMethod("getUserAgentString")
' Set user agent
r.RunMethod2("setUserAgentString"...
i want use "WaitFor" without stopping WebView.
When i use "WaitFor" my WebView flashplayer and movable objects(Animations/Gif's) goes pausing.
I do not want "WaitFor" to interfere in WebView's work.
Hi everyone, it's possible to make the status bar transparent (in the screenshot is the white space at the top), anche make transparent the bottom part?
This layout is simply a web view with a GIF, in the designer the Webview is set to cover all the area.
This represent the splashsceen.
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.