This update includes a new library named PyBridge, that allows using Python libraries from inside the B4J app. Python is leading the way in fields such as AI, LLM, image recognition and many others. Using PyBridge is not always trivial and it won't be the right tool for every task, however there are many things that weren't possible before and are now possible.
More information: https://www.b4x.com/android/forum/threads/165654/#content
Discussions related to PyBridge: https://www.b4x.com/android/forum/pages/results/?query=[pybridge]&product=b4j&page=2
Other improvements:
Note that the installer is signed with a new code signing key and you might see a smart screen warning when you try to install. Right click on the installer and choose "unblock".
More information: https://www.b4x.com/android/forum/threads/165654/#content
Discussions related to PyBridge: https://www.b4x.com/android/forum/pages/results/?query=[pybridge]&product=b4j&page=2
Other improvements:
- Many internal libraries were updated since last release.
- New internal keywords: Initialized and NotInitialized:
B4X:If Map1 <> Null And Map1.IsInitialized Then ... 'boring If Initialized(Map1) Then ... 'less boring
- #CustomBuildAction arguments are expanded with environment variables and other variables (%PROJECT%, %B4X%, %JAVABIN%, %PROJECT_NAME% and %ADDITIONAL%): https://www.b4x.com/android/forum/threads/b4x-comment-links.119897/#content
- LogColors withs in b4xlibs
- Fix for logs encoding issue in Java 19+. Note that the following attribute should be added for the same fix with standalone packages (if the terminal output is important):
B4X:#PackagerProperty: VMArgs = -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8
- B4XCollections: new helper methods: EmptyList, EmptyMap, MergeMaps, MergeLists, CreateList, CopyOnWriteMap and CopyOnWriteList.
- Panel.LoadLayout no longer deletes the previous tag.
Note that the installer is signed with a new code signing key and you might see a smart screen warning when you try to install. Right click on the installer and choose "unblock".
Last edited: