Android Question Where to put the b4xlib libraries?

vecino

Well-Known Member
Licensed User
Longtime User
Hi, I can't find a place to put the b4xlib libraries.
In B4A and with B4J
Are they in the Libraries-Aditionals directory?
Thank you.
 

DonManfred

Expert
Licensed User
Longtime User

the B4X folder is for b4xlib Libraries.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I'm afraid that this will be a problem.
The b4xlib developers MUST clearly define for what platform the given library is dedicated.
BUT, in my opinion, b4xlibs MUST be valid for all three platforms!!!
Otherwise it will become a jungle and everybody will be lost!
If any, so called b4xlib, is not valid for all three platforms it should have another suffix.
Well, that's my opinion.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
I'm afraid that this will be a problem.
The b4xlib developers MUST clearly define for what platform the given library is dedicated.
BUT, in my opinion, b4xlibs MUST be valid for all three platforms!!!
Otherwise it will become a jungle and everybody will be lost!
If any, so called b4xlib, is not valid for all three platforms it should have another suffix.
Well, that's my opinion.
I totally agree.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The b4xlib manifest file supports a key named "Supported Platforms" field: https://www.b4x.com/android/forum/threads/new-feature-b4x-lib-a-new-type-of-library.100383/
It can be used to mark which platforms are supported, by default all platforms are supported.

Currently the IDE only reads the manifest file when a library is selected. It will show an error message when an unsupported library is selected.

b4xlibs have all kinds of advantages (and also some disadvantages) over compiled libraries. Their use case is definitely not limited to cross platform libraries.
 
Upvote 0
Top