microbox Active Member Licensed User Longtime User Sep 7, 2019 #1 Just want to ask how to display html file on webview. I'm using this code B4X: 'WebView1.LoadUrl("file:///" & File.Combine(File.DirAssets, "main.html")) but it displays Webpage not available, I added "main.html" to the File folder. Thanks, microbox
Just want to ask how to display html file on webview. I'm using this code B4X: 'WebView1.LoadUrl("file:///" & File.Combine(File.DirAssets, "main.html")) but it displays Webpage not available, I added "main.html" to the File folder. Thanks, microbox
kisoft Well-Known Member Licensed User Longtime User Sep 7, 2019 #2 Hi B4X: Dim xui As XUI WebView1.LoadUrl(xui.FileUri(File.DirAssets, "main.html")) Upvote 0
microbox Active Member Licensed User Longtime User Sep 8, 2019 #3 Wow..now working..thanks kisoft! Upvote 0