Love the ability to compile Libraries, but I'm extremely disappointed with the lack of the ability to include files.
Ex: If I include a CSS stylesheet in my Library and use the library in another project, I'll still need to include the CSS file in said project.
Edit: I found this, but whenever I use it, I keep getting this error:
Edit 2: OK, I now found this: https://www.b4x.com/android/forum/threads/load-image-or-file-from-jar.38215/#post-227904
But I'm a little confused as to how to actually call the files.
Edit 3: Figured it out...
Ex: If I include a CSS stylesheet in my Library and use the library in another project, I'll still need to include the CSS file in said project.
Edit: I found this, but whenever I use it, I keep getting this error:
B4X:
java.lang.ClassCastException: sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream cannot be cast to java.lang.String
Edit 2: OK, I now found this: https://www.b4x.com/android/forum/threads/load-image-or-file-from-jar.38215/#post-227904
But I'm a little confused as to how to actually call the files.
Edit 3: Figured it out...
B4X:
File.GetUri(File.DirAssets, "file.ext")
Last edited: