My help file is an html in File.DirAssets, which uses a dozen or so pictures and video. I don't seem to be able to address them in HTML, although they are in files.dirassets together with the html page.
I suspect they are in compressed form, and need to be extracted somehow. I searched the forum to no avail, though.
In the new Basic4Android 3.50 version, I realised that images loaded in webviews are not displayed in mode “debug (rapid)”. In other modes, as “debug (legacy)” and “release” are shown normally. There is a simple example to check this: Sub Globals Dim WebV As WebView End Sub Sub...
Hello Inside my html page when I download It to assets directory the path to show picture is: src="file:///android_asset/house.jpg" What is the correct path if I download the webpage to DirInternal? src="file:///????/house.jpg"
none worked, i don't want to drop my images folder to root, i have a lot of images and it will be a mess, also i have CSS and Javascript folders that cannot be accessed.
Simple, place ALL FILES in the root like you are supposed to.
You NEED to flatten the assets folder by placing all the files in the root folder directly. You're supposed to manage the images through the IDE via the Files Tab. You create new groups/folders via the files tab and manage the files and folder names there. It's as simple as that.
It does not matter what you 'don't want', read my response below.
Simple, place ALL FILES in the root like you are supposed to.
You NEED to flatten the assets folder by placing all the files in the root folder directly. You're supposed to manage the images through the IDE via the Files Tab. You create new groups/folders via the files tab and manage the files and folder names there. It's as simple as that.
That can work, but if i have different images with same names in different sub folders, it wont work., i better followed Erel suggestion: add a zip and extract to Internal, i don't know why in B4A v10.70 the dir assets are broken and doubled the work for my webview apps.
That can work, but if i have different images with same names in different sub folders, it wont work., i better followed Erel suggestion: add a zip and extract to Internal, i don't know why in B4A v10.70 the dir assets are broken and doubled the work for my webview apps.