Android Question How embed resources in the jar file?

margret

Well-Known Member
Licensed User
Longtime User
I have a library created with B4A. This library looks for about 50 different .png files. I currently have them in a folder named ftypes and placed in the Files folder. I would like to embed them in the .jar file of the library so they do not have to be added to the project so they will be self contained.
 

warwound

Expert
Licensed User
Longtime User
Upvote 0

margret

Well-Known Member
Licensed User
Longtime User
You cannot use Subfolders in assets. That´s the problem why you not able to reference them.


I use subfolders in assets all the time and have never had any issues doing so. I am not sure what you are referring to? The question we had was not related to files in assets in particularly, but as an embedded library reference object.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…