Android Question XUI lib

LordZenzo

Well-Known Member
Licensed User
Longtime User
I would like to create a B4XUI library and I would like this library to receive the name of a png file and load it into a bmp extracting it from the file folder, ie from the file.DirAssets and I would like it to work both in B4A and in B4J
for B4A use JarFileloader
for B4J it doesn't work

maybe it was better in b4j questions
 

LordZenzo

Well-Known Member
Licensed User
Longtime User
Create a b4xlib for this. It will be cross platform and it will be very simple to include files.

Example from today: https://www.b4x.com/android/forum/t...platform-custom-view-packed-as-b4xlib.107971/

why do you show me this example?
I asked how to load a png having the only name and assuming that the file is in the file folder of the project that contains the library I want to do
in your example no PNG or other file is loaded
I didn't ask how to make a generic library
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
why do you show me this example?
I asked how to load a png having the only name and assuming that the file is in the file folder of the project that contains the library I want to do
in your example no PNG or other file is loaded
I didn't ask how to make a generic library
Just tried to help. Will not happen again...

BTW, that library includes several "embedded" files (text file and layout files).
 
Upvote 0
Top