B4J Question How to embed images in Libraries ...

Cableguy

Expert
Licensed User
Longtime User
Hi Guys,

Does anyone knows if/how to embed images into a library??
 
Last edited:

Daestrum

Expert
Licensed User
Longtime User
I would guess add the file to the files tab, then refer to it as
B4X:
      img.Initialize(File.DirAssets,imagename.png)
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Actually that doesn't work, it still needs the files to be in the files folder...
What I need is to get the image files into the compiled lib itself!
 
Upvote 0
Top