B4A Library UltimateWebView2 - Ivica Golubovic    Jan 01, 2024   (16 reactions) ValueCallbackUri - class. This class cannot be initialized by the user. WebBackForwardList - class. This class cannot be initialized by the user. WebHistoryItem - class. This class cannot be initialized by the user. WebResourceRequest - class. This class cannot be initialized by the user. WebResourc B4A Question [B4A] WebView how to hide Zoom Controls (+) (-) buttons ? setDisplayZoomControls(false) - JohnC (first post)    Aug 11, 2020   (2 reactions) You can also use WebViewSettings:
webviewsettings.setDisplayZoomControls(webview1,False) B4A Question [SOLVED] API 30 - Showing Image inside webView not working - mc73 (first post)    Nov 04, 2021   (3 reactions) Unfortunately it didn't work (the first suggestion for base 64). The second suggestion however, worked, and I'm pretty happy for it, thank you! webView1.Initialize("webview1") Private wvsetttings As WebViewSettings wvsetttings.setAllowFileAccess(webView1,True) I'll mark this thread as solved. B4A Question Problems with HTML5 web apps in webview - FrostCodes (first post)    Aug 05, 2021   (1 reaction) Add this before you try to load the page WebViewExtras1.addWebChromeClient(WebView1, "WebViewExtras1") WebViewSetting1.setDatabaseEnabled(WebView1, True) WebViewSetting1.setDOMStorageEnabled(WebView1, True) WebViewSetting1.setGeolocationEnabled(WebView1, True) WebViewS B4A Question WebView Not Displaying Web Page - DonManfred (first post)    Apr 24, 2019   (1 reaction) Add Webviewextras2 and webviewsettings library.
Activity.LoadLayout("WebView")
Dim WebChromeClient1 As DefaultWebChromeClient
Dim wve As WebViewExtras
Dim wvs As WebViewSettings
wve.Initialize(WebView1)
WebChromeClient1.Initialize("WebChromeClient1")
wve.SetWebChromeClie B4A Question View the Desktop version of a site with WebView - JohnC (first post)    Aug 07, 2019   (1 reaction) Try using this webviewSettings library:
https://www.b4x..12929/
It will allow you to set various settings like the user agent, wideviewport, overviewmode using regular methods instead of using a java object (like you did in the previous code above).
See if it works better for you. B4A Question SOLVED - Cannot load page in webview - JohnC (first post)    Aug 25, 2024 3. Server-side Issues
Server Configuration: The server hosting the website might have certain configurations or blocks in place that prevent loading from WebView. For example, some websites block requests from specific user agents or restrict loading to known browsers.
Traffic Filtering: If the web B4A Question [RESOLVED]Problems with targetSdkVersion=30 - roumei (first post)    Jul 09, 2021   (1 reaction) You can use WebViewSettings to allow the file access (https://www.b4x..12929/#content): Private xui As XUI Private wvs As WebViewSettings wvs.setAllowFileAccess(WebView1, True) WebView1.LoadHtml($"<img src="${xui.FileUri(File.DirInternal, "image.jpg")}"/>"$) B4A Question Webview vs local storage (SOLVED) - jcesar (first post)    Nov 20, 2023   (3 reactions) Solved !
I use WebViewExtras and WebSettings to enable the local storage.
Sub Globals
'These global variables will be redeclared each time the activity is created.
Private WebView1 As WebView
Private wve As WebViewExtras
Private wvs As WebSettings
Dim IME As IME
End Sub
Sub A B4A Question ERR when loading WebView with HTML file that's in any directory except File.DirAssets - Erel (first post)    Nov 10, 2024   (2 reactions) This is related to a change in the default value since Android 11. I will add a property to WebView. For now you need to use WebViewSettings library to change it:
Dim settings As WebViewSettings
settings.setAllowFileAccess(WebView1, True)
https://www.b4x..12929/#content Page: 1   2   3   4   5   6   7   Powered by ColBERT |