Other B4A v8.50 BETA has been released

Discussion in 'Android Questions' started by Erel, Sep 6, 2018.

  1. Erel

    Erel Administrator Staff Member Licensed User

    A lot of work has been done recently with the new XUI2D games framework:


    This update makes it simpler to build cross platform applications and share files between the projects.

    • Debugger performance optimizations and bug fixes.
    • #CustomBuildAction:
      • Support in all modules.
      • Support for environment variables.
      • New "folders ready" cross platform compilation step. Useful for updating files.
    • The list of subs above the code editor was rewritten. It behaves better (doesn't miss key inputs and always jumps to the clicked sub).
    • file:// links can be ctrl + clicked.
    • B4A Sdk Manager v3.29 included.
    • BitmapCreator v4.18
    • XUI2D v0.99
    • OkHttpUtils2 v2.70
    • The WRITE_EXTERNAL_STORAGE permission removed from the debugger.
    • Code editor jumps to the error line when there are Java compilation errors.
    • Bug fixes.
    Users eligible for free upgrades will receive an email with the installation instructions.
    Last edited: Sep 6, 2018
    ronell, beacon, Sandman and 32 others like this.
  2. MarcoRome

    MarcoRome Expert Licensed User

    Is it possible more information ?
    Thank you
  3. Star-Dust

    Star-Dust Expert Licensed User

    arastoo likes this.
  4. LucaMs

    LucaMs Expert Licensed User

    From this new version, even B4A (and all B4X products) will have a "version name", like Lollipop, Marshmallow, Nougat, Oreo, ...

    The name of B4A 8.50 will (should) be... Mario :p

    even in honor of my imminent death :p
  5. Peter Simpson

    Peter Simpson Expert Licensed User

    Thank you @Erel, I'll test it shortly...
    arastoo likes this.
  6. Multiverse app

    Multiverse app Active Member Licensed User

  7. Erel

    Erel Administrator Staff Member Licensed User

    There is a new compilation step that happens after the code is parsed:

    B4A Version: 8.50 BETA #1
    Parsing code. (0.05s)
    Building folders structure. (0.04s) <-------
    Running custom action. (0.03s)
    Compiling code. (0.27s)
    Compiling layouts code. (0.00s)
    Organizing libraries. (0.00s)
    Generating R file. (0.39s)
    Compiling debugger engine code. (2.08s)
    Compiling generated Java code. (2.30s)
    Convert byte code - optimized dex. (2.59s)
    Packaging files. (0.17s)
    Copying libraries resources (0.01s)
    Found 1 resource files.
    Signing package file (private key). (0.73s)
    ZipAlign file. (0.05s)
    Installing file to device. (0.02s)
    Installing with B4A-Bridge.
    Completed successfully.

    This step was added to B4J and b4i as well. This is the point where you can copy files to the Files folder with a custom build action.

    All the examples from XUI2D examples pack include this line in the Game class:
    #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
    This way all game files (except of the layouts) are updated automatically. See the tutorial for more information: https://www.b4x.com/android/forum/threads/xui2d-cross-platform-tips.96815/#content
    beacon, arastoo, jmon and 5 others like this.
  8. MarcoRome

    MarcoRome Expert Licensed User

    Very well Thanks Erel
  9. knutf

    knutf Member Licensed User

    What is this?
  10. Erel

    Erel Administrator Staff Member Licensed User

  11. Bladimir Silva Toro

    Bladimir Silva Toro Member Licensed User

    Excellent @Erel congratulations to all his group of developers
  12. Peter Simpson

    Peter Simpson Expert Licensed User

    Perfect, that used to always get to me and now it's working 100%

    Thank you...
    beacon and Kevin like this.
  13. arastoo

    arastoo Member Licensed User

    Excellent ;)
    Thank you...:D
  14. AnandGupta

    AnandGupta Active Member Licensed User

    Thanks for the new version, Erel. I have just started trying (again) to build some apps and latest 8.5 looks more promising.


  15. asales

    asales Well-Known Member Licensed User

    What is "Java compilation errors"?

    I tried to generate an error with this line:
    Dim i As Int = "sdkljkljkljfsdf"
    but the code editor don't jumps to the line.
  16. Erel

    Erel Administrator Staff Member Licensed User

    There is no compilation error here.

    Dim b as Button = "SdfsdF"
    asales likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice