alwaysbusy Expert Licensed User Longtime User Nov 14, 2019 #1 Searched the forum, but can't find anything about this. I know how to add class templates when making a library as a .jar using: Code: Copy @CustomClasses(values = { @CustomClass(name = "BANano Custom View", fileNameWithoutExtension = "banano_customview") }) Does a similar system exist for .b4xlibs? (so that your 'Custom Classes' come in the IDE menu). Maybe something one has to add to the manifest.txt file? Alwaysbusy
Searched the forum, but can't find anything about this. I know how to add class templates when making a library as a .jar using: Code: Copy @CustomClasses(values = { @CustomClass(name = "BANano Custom View", fileNameWithoutExtension = "banano_customview") }) Does a similar system exist for .b4xlibs? (so that your 'Custom Classes' come in the IDE menu). Maybe something one has to add to the manifest.txt file? Alwaysbusy
DonManfred Expert Licensed User Longtime User Nov 14, 2019 #2 https://www.b4x.com/android/forum/threads/new-feature-b4x-lib-a-new-type-of-library.100383/#content A b4xlib is just a zip with the Sources (bas files) and a helperfile for manifest Upvote 0
https://www.b4x.com/android/forum/threads/new-feature-b4x-lib-a-new-type-of-library.100383/#content A b4xlib is just a zip with the Sources (bas files) and a helperfile for manifest
alwaysbusy Expert Licensed User Longtime User Nov 14, 2019 #3 DonManfred said: A b4xlib is just a zip with the Sources (bas files) and a helperfile for manifest Click to expand... I know that, but what I don't know is how to add this in a b4xlib library (the .b4x_excluded files one can add to a .jar lib that produces this in the IDE): Upvote 0
DonManfred said: A b4xlib is just a zip with the Sources (bas files) and a helperfile for manifest Click to expand... I know that, but what I don't know is how to add this in a b4xlib library (the .b4x_excluded files one can add to a .jar lib that produces this in the IDE):
DonManfred Expert Licensed User Longtime User Nov 14, 2019 #4 alwaysbusy said: that produces this in the IDE Click to expand... I dont think there is a way for that. I guess this needs a change in the IDE itself. Upvote 0
alwaysbusy said: that produces this in the IDE Click to expand... I dont think there is a way for that. I guess this needs a change in the IDE itself.
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2019 #5 It is currently not supported. You can create a jar file with the template and a xml file with the required declaration. Add the new "library" to the list of dependencies in the manifest.txt file. Upvote 0
It is currently not supported. You can create a jar file with the template and a xml file with the required declaration. Add the new "library" to the list of dependencies in the manifest.txt file.