Other B4A v8.50 BETA has been released

Erel

Administrator
Staff member
Licensed User
A lot of work has been done recently with the new XUI2D games framework:

mario-gif.71004


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

Improvements:
  • 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:

Erel

Administrator
Staff member
Licensed User
Is it possible more information ?
Thank you
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:
B4X:
#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
 
Upvote 0

MarcoRome

Expert
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:
B4X:
#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

Very well Thanks Erel
 
Upvote 0

AnandGupta

Well-Known 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.

Regards,

Anand
 
Upvote 0

asales

Well-Known Member
Licensed User
  • Code editor jumps to the error line when there are Java compilation errors.
What is "Java compilation errors"?

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