Share My Creation [Tool] Additional Libraries Downloader

Version: 2.30

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. Compile the source and rename the jar as libget-non-ui.jar
  2. Put the jar into B4X additional libraries folder
  3. Create a libs.json file
  4. Put the libs.json file inside your project's folder (same level as .b4a or .b4j file)
  5. In Main module (or B4XMainPage), add the following comment link to the top of the code:
    Note: Second parameter is ForceUpdate (Boolean)
    B4X:
    ' LibDownloader: ide://run?file=%JAVABIN%\java.exe&Args=-jar&Args=%ADDITIONAL%\..\B4X\libget-non-ui.jar&Args=%PROJECT%&Args=true
  6. Mouse hover to the comment link and press Ctrl + click on it
  7. Wait for any download to complete and the tool ended
  8. Refresh the Libraries tab

Sample libs.json file​

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.30/libget-non-ui.jar
 

Attachments

  • libget-non-ui.zip
    2.1 KB · Views: 18
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.
 
Top