Cableguy Expert Licensed User Longtime User Oct 6, 2015 #1 Hi Guys, Does anyone knows if/how to embed images into a library?? Last edited: Oct 6, 2015
Daestrum Expert Licensed User Longtime User Oct 7, 2015 #2 I would guess add the file to the files tab, then refer to it as B4X: img.Initialize(File.DirAssets,imagename.png) Upvote 0
I would guess add the file to the files tab, then refer to it as B4X: img.Initialize(File.DirAssets,imagename.png)
Cableguy Expert Licensed User Longtime User Oct 7, 2015 #3 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
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!
Erel B4X founder Staff member Licensed User Longtime User Oct 7, 2015 #4 See this post: https://www.b4x.com/android/forum/threads/load-image-or-file-from-jar.38215/#post-227904 Upvote 0
See this post: https://www.b4x.com/android/forum/threads/load-image-or-file-from-jar.38215/#post-227904