Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2025 #1 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: Many internal libraries were updated since last release. New internal keywords: Initialized and NotInitialized: Code: Copy 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): Code: Copy #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. Download link: https://www.b4x.com/b4j.html 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: Mar 17, 2025
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: Many internal libraries were updated since last release. New internal keywords: Initialized and NotInitialized: Code: Copy 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): Code: Copy #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. Download link: https://www.b4x.com/b4j.html 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".
DarkoT Active Member Licensed User Longtime User Mar 18, 2025 #2 Just for your information... The latest version of the B4J system – version 10.2 – has a bug. Programs that worked before can not be compiled... I don’t know exactly where the issue is, but if I go back to an older version, everything works normally. Upvote 0
Just for your information... The latest version of the B4J system – version 10.2 – has a bug. Programs that worked before can not be compiled... I don’t know exactly where the issue is, but if I go back to an older version, everything works normally.
Pendrush Well-Known Member Licensed User Longtime User Mar 18, 2025 #3 New internal keywords: Initialized and NotInitialized: Click to expand... Change Private Initilaized As Boolean by not using Initialized keyword, like Private IsItInitilaized As Boolean Upvote 0
New internal keywords: Initialized and NotInitialized: Click to expand... Change Private Initilaized As Boolean by not using Initialized keyword, like Private IsItInitilaized As Boolean
DarkoT Active Member Licensed User Longtime User Mar 18, 2025 #4 Pendrush said: Change Private Initilaized As Boolean by not using Initialized keyword, like Private IsItInitilaized As Boolean Click to expand... I don't have variable Initilaized as Boolean ... Nowhere in the system... Sory, I found it... It's was in external library (Drag&Drop2)... There is variable Initialized as Boolean... I will try to change it... Upvote 0
Pendrush said: Change Private Initilaized As Boolean by not using Initialized keyword, like Private IsItInitilaized As Boolean Click to expand... I don't have variable Initilaized as Boolean ... Nowhere in the system... Sory, I found it... It's was in external library (Drag&Drop2)... There is variable Initialized as Boolean... I will try to change it...
William Lancee Well-Known Member Licensed User Longtime User Mar 18, 2025 #5 There is a new version of Drag&Drop to accommodate the change. https://www.b4x.com/android/forum/threads/jdraganddrop2-drag-and-drop.76168/ Upvote 0
There is a new version of Drag&Drop to accommodate the change. https://www.b4x.com/android/forum/threads/jdraganddrop2-drag-and-drop.76168/
LucaMs Expert Licensed User Longtime User Mar 18, 2025 #6 DarkoT said: I don't have variable Initilaized as Boolean ... Nowhere in the system... Sory, I found it... It's was in external library (Drag&Drop2)... There is variable Initialized as Boolean... I will try to change it... Click to expand... stevel05 said: Update v1.2 - Changed global variable Initialized to IInitialized to avoid issues with B4x V10.2 Beta. There is now only a B4xlib version. Click to expand... https://www.b4x.com/android/forum/threads/jdraganddrop2-drag-and-drop.76168/ Upvote 0
DarkoT said: I don't have variable Initilaized as Boolean ... Nowhere in the system... Sory, I found it... It's was in external library (Drag&Drop2)... There is variable Initialized as Boolean... I will try to change it... Click to expand... stevel05 said: Update v1.2 - Changed global variable Initialized to IInitialized to avoid issues with B4x V10.2 Beta. There is now only a B4xlib version. Click to expand... https://www.b4x.com/android/forum/threads/jdraganddrop2-drag-and-drop.76168/
P PJLPJLPJL Member Licensed User Longtime User Mar 18, 2025 #7 Do we need to reinstall Java OpenJDK 19? Upvote 0
teddybear Well-Known Member Licensed User Mar 18, 2025 #8 PJLPJLPJL said: Do we need to reinstall Java OpenJDK 19? Click to expand... No Upvote 0