Share My Creation [Tool] Additional Libraries Downloader

Version: 2.50

libdownloader-png.163885


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

Download jar: https://github.com/pyhoon/libget-non-ui-b4j/releases/download/v2.50/libget-non-ui.jar

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 Macro tag to the top of the code:
    B4X:
    #Macro: Title, LibDownloader, ide://run?file=%JAVABIN%\java.exe&Args=-jar&Args=%ADDITIONAL%\..\B4X\libget-non-ui.jar&Args=%PROJECT%&Args=True
    Note: Second parameter is ForceUpdate (Boolean)
  4. 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"
        }
    ]
}
 
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

aeric

Expert
Licensed User
Longtime User
Version 2.50

What's New
  • Add #Macro tag
    • Quickly open Objects folder
    • Rename result.jar
  • Add #CustomBuildAction tag
    • Move jar to B4X Additional Library folder
  • Do no update if major is not same.
    • e.g version 3.x will not updated to version 4.x
  • Update CheckAndLog sub
    • Remove redundant occurrences.
 
Top