WebView. LoadUrl (Url As String)Loads a url. Note that you cannot use this method to load files from the Assets folder.Example: WebView1.LoadUrl("http://www.google.com") B4i Question webview.loadurl - Erel (first post)    Oct 3, 2019 You can use StringUtils.EncodeURL to encode the parameters. Don't encode the ampersands between ... B4i Question WebView LoadUrl of a pdf file doesn't work on iOS 12.5.4. - Semen Matusovskiy (first post)    Aug 28, 2021
you need to move the files you are loading into the WebView into DirTemp for it to work.
There is another way, which works at least in current IOS. Put files into Special subfolder (see sample)... B4i Question How To Exit From WebView LoadURL - Semen Matusovskiy (first post)    Apr 12, 2021 WebView1.RemoveViewFromParent or
WebView1.Visible = False or
load another layout etc.... B4i Question WebView3.LoadUrl("file:///DirAssets/scores.html") - John Woodsmall (first post)    Jan 10, 2015 ok
worked!
thanks.... B4i Question LoadUrl problem - Claude Brun (first post)    Jan 6, 2023
Does it work with WebView?
Yes It work whith WebView. (WebView.loadurl)... B4i Question I Need help to open external link from webView - LusazDeveloper (first post)    Dec 13, 2023 Thank you so much @mcqueccu It works but not at all for me. The url parameter captures the wrong page. I mean it should capture the link inside a webview (for example and <a href="something.html"></a>), instead the webview_OverrideUrl(Url As String) method is sending me to see the same page (out in safari) that is already set into the webview. PD: I think that it is because I call the webview.loadUrl in the creation of the page. But I'm not pretty sure.... B4i Question Pictures in WebView HTML - AllanH (first post)    Aug 28, 2021 See my comments in https://www.b4x.com/android/forum/threads/webview-loadurl-of-a-pdf-file-doesnt-work-on-ios-12-5-4.132314/... B4i Question webview will not load a url stored in a variable. - ottercat    Jan 19, 2022 In android I have no problem. In ios if I have a link stored in say aLink and put webview.loadurl(aLink) it does nothing and a log statement after it does not fire. If I put in "a website" instead, it loads fine.... Other B4i v7.50 has been released - Erel    Jul 13, 2021   (19 reactions) ).As(List) Log(item) Next Root.GetView(8).As(WebView).LoadUrl("https://www.google.com") More... B4A Code Snippet [B4X] Use WebView to show large images - Erel    Sep 4, 2021   (19 reactions) Better to use: HugeImageView - show very large images Depends on: XUI and JavaObject. 'xui is a global XUI object. Private Sub ShowImage(WV As WebView, Dir As String, FileName As String) #if B4A Dim jo As JavaObject = Me jo.InitializeContext 'comment this line if calling.../>"$) Else WV.LoadUrl("file://" & File.Combine(Dir, FileName)) End If End If End Sub #if B4A #if Java public void zoom(android.webkit.WebView wv... Page: 1   2   3   4   5   6   7   |