Share My Creation [Tool] Additional Libraries Downloader

Version: 2.40

libdownloader-png.163885


GitHub: https://github.com/pyhoon/libget-non-ui-b4j

A tool where you can use to download the missing libraries for B4A and B4J projects

How to use​

  1. Download and put the libget-non-ui.jar file into B4X additional libraries folder
  2. Open project with the LibDownloader comment link or macro
  3. Mouse hover to the comment link and press Ctrl + click or click the macro
  4. Wait for any download to complete and the tool ended
  5. Refresh the Libraries Manager tab

Sharing libs.json file​

  1. Create a libs.json file
  2. Put the libs.json file inside your project's folder (same level as .b4a or .b4j file)
  3. In Main module (or B4XMainPage), add the following comment link to the top of the code:
  4. B4X:
    ' LibDownloader: ide://run?file=%JAVABIN%\java.exe&Args=-jar&Args=%ADDITIONAL%\..\B4X\libget-non-ui.jar&Args=%PROJECT%&Args=true
  5. Note: Second parameter is ForceUpdate (Boolean)
  6. Share your project or template
Sample:
libs.json:
{
    "Libraries": [
        {
            "Name": "MiniORMUtils.b4xlib",
            "Platform": "B4X",
            "Version": 2.62,
            "Link": "https://github.com/pyhoon/MiniORMUtils-B4X/releases/download/v2.62/MiniORMUtils.b4xlib"
        },
        {
            "Name": "WebApiUtils.b4xlib",
            "Platform": "B4J",
            "Version": 3.05,
            "Link": "https://github.com/pyhoon/WebApiUtils-B4J/releases/download/v3.05/WebApiUtils.b4xlib"
        }
    ]
}
Download jar: https://github.com/pyhoon/libget-non-ui-b4j/releases/download/v2.40/libget-non-ui.jar
 
Last edited:

aeric

Expert
Licensed User
Longtime User
Version 1.10

What's New
  • Support B4A project

Changes:
  • Put the libget-non-ui.jar file inside B4X additional folder - so it can be shared with B4A and B4J
  • Comment link now reads libs.json file inside project folder (formerly Objects folder) - file inside Objects folder is deleted in B4A
  • Comment link can be put in B4XMainPage to download all additional libraries for all platforms
Please check updated instructions on first post.
 

aeric

Expert
Licensed User
Longtime User
Top