To load a file from DirAssets to a WebView we use
in B4A: wbvHelp.LoadUrl("file:///android_asset/" & HelpFile)
in B4i: wbvHelp.LoadUrl("file:///???/" & HelpFile)
I have the following code in an Html Page that I load into a webview in b4a. It pulls a jpg file from the assets folder. What do I need to change in the html code so that it pulls the jpg file from the assets folder using b4i? It's not working in b4i.
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.