Hmm...
I just tested.
B4xlib doesn't work in B4A but you can use .jar + .xml library. B4Xlib Custom Class works in B4A, B4j and B4i !!!
View attachment 167028
B4XLib structure:
View attachment 167034
manifest.txt file:
[CODE lang="b4x" highlight="3,4"]Author=Aeric Poon
Version=1.00
CustomClassTemplates=Aeric's B4XPage|B4XPage3,Aeric's Sample Class|SampleClass
Supported Platforms=B4A,B4J,B4i[/CODE]