Version: 2.60
A tool for downloading the updated version or missing libraries for B4A or B4J projects.
Download jar: https://github.com/pyhoon/libget-b4j/releases/download/v2.60/libget.jar
GitHub: https://github.com/pyhoon/libget-b4j
First argument is project path containing the libs.json file
Second argument is option
Available options:
A tool for downloading the updated version or missing libraries for B4A or B4J projects.
Download jar: https://github.com/pyhoon/libget-b4j/releases/download/v2.60/libget.jar
GitHub: https://github.com/pyhoon/libget-b4j
How to use
- Download and put the libget.jar file into B4X additional libraries folder
- Open project with the GetLibraries macro
- Click the macro
- Wait for any download to complete and the tool ended
- Refresh the Libraries Manager tab
- If downloading missing b4xlib libraries, restart the IDE.
Sharing libs.json file
- Create a libs.json file
- Put the libs.json file inside your project's folder (same level as .b4a or .b4j file)
- In Main module (or B4XMainPage), add the following Macro tag to the top of the code:
B4X:#Macro: Title, GetLibraries, ide://run?file=%ADDITIONAL%\..\B4X\libget.jar&Args=%PROJECT%&Args=AutoUpdate - Share your project or template.
First argument is project path containing the libs.json file
Second argument is option
Available options:
- AutoUpdate (or if second argument is not specified)
- ForceDowngrade
- CheckOnly
libs.json:
{
"Libraries": [
{
"Name": "MiniJS.b4xlib",
"Platform": "B4X",
"Version": 0.40,
"Link": "https://github.com/pyhoon/MiniJs-B4X/releases/download/v0.40/MiniJs.b4xlib",
"Update": "https://github.com/pyhoon/MiniJs-B4X/releases/download/v0.40/update.json"
},
{
"Name": "WebApiUtils.b4xlib",
"Platform": "B4J",
"Version": 5.90,
"Link": "https://github.com/pyhoon/WebApiUtils-B4J/releases/download/v5.90/WebApiUtils.b4xlib"
}
]
}
update.json:
{
"Name": "MiniJS.b4xlib",
"Platform": "B4X",
"Version": 0.50,
"Link": "https://github.com/pyhoon/MiniJs-B4X/releases/download/v0.50/MiniJs.b4xlib"
}
Last edited: