Hello,
I'm looking for a way of loading html code from a file in my files directory in a webview.
I looked up for a solution in the forum but none seems to work.
I tried both loadHtml adn loadUrl, using as argument of the sub File.DirAssets & "file.html", "file:///android_asset/file.html" and others.
I also tried WebView1.LoadUrl(File.GetUri(File.DirAssets,"yourfile.html")) but File.GetUri doesn't show up.
I'm looking for a way of loading html code from a file in my files directory in a webview.
I looked up for a solution in the forum but none seems to work.
I tried both loadHtml adn loadUrl, using as argument of the sub File.DirAssets & "file.html", "file:///android_asset/file.html" and others.
I also tried WebView1.LoadUrl(File.GetUri(File.DirAssets,"yourfile.html")) but File.GetUri doesn't show up.