Hey guys!
I'm facing a quite weird problem with a B4J app.
Looks like it happens when I use FileChooser.ShowOpenMultiple(MainForm).
Whenever I hit "Cancel" on the file chooser dialog, application crashes immediately.
In debug mode, B4J IDE stays running as if the app was still open even though...
I'm testing @DonManfred 's SMB client (https://www.b4x.com/android/forum/threads/jcifs-ng-smb-client-smb2.104561/), both the B4A and B4J versions. B4A works fine, and so does B4J on Linux. On Windows 10 and 11 however, I'm getting the below error and have no clue what to do; the library used is...
I must be missing something fundamental here. When resizing the form's width, the contents (which are all anchored in the Designer) don't appear to resize with the ScrollPane and its InnerNode. Any insights would be greatly appreciated!
Code (which is the attached test project):
Sub...
in ubonto we cant play sound with mediaplay.
so i want to play with shell command.
in terminal with command below i play wav.
aplay /home/admins/tempjars/Record/11012023094449.wav
in shell i write this
Dim path As String= File.GetUri("/home/admins/tempjars/Record/11012023094449.wav","")...
Trying to create an application in B4J that needs to use GPS location speed etc. What library does B4J need to use for this to work. I also cant seem to find any examples in B4J only B4A example seem to exist. Does anyone have any examples of code for GPS access under B4J.
Many Thanks in advance
For any project where a database is required - it's very important to have possibility to see the database data, to debug the app.
If the app is used on a remote server host, and the database is getting bigger and bigger - it's not comfortable to see file-based SQLite database, as file copying...
I needed this and didn't find an existing solution: a CLV whose items
- can be expanded/collapsed (available in @Erel's CLVExpandable)
- and can have sub-items that can be shown or hidden
In the screenshot below, you'll see the arrows that can be used to expand/collapse, and the +/- signs to...
Hi, 'b4jers'
B4j can easily import and encompass the javafx controls and deals with them as native controls. As a demo of this power of b4j
I present this outcome of a small app that took a considerable deal of research, trials and errors, and code organization..
It displays three buttons...
I am working on a project with Google Maps V2. The code is as Erel's example here Google Maps V2
I am using the recommended OpenJDK 19.0.2 + OpenJFX 17.0.6 and have included the #PackagerProperty code.
Is this a problem?
Hi everybody,
May I present to you this utility which was entirely made with b4j. It is a b4xlib library maker.
It has a very simple job : archiving the required resource files into the b4xlib file which is, as stated by the creator,
a zip file. It is a standalone package made with JPackager...
Is it possible to add more than one Google Maps to different B4XPages?
I have added 2 Google Maps into 2 different B4XPages, and the last B4XPage which was initialized is working fine, but the first initialized B4XPage's Google Maps is not loading. It's showing blank.
If I remove the 2nd...
Hi B4X community,
I have the following as a part of a Java code in a class:
#if Java
{
//
//....
String msg ="blabla";
ba.raiseEvent(null,"get_msg",msg);
//.....
//
}
#end if
Is the ba.raiseEvent written correctly?
How would I expose 'msg' variable to the...
I'm using the jGoogleMaps library in my B4J project, and I'm receiving this error message when loading the Google Map.
Additionally, the map is displaying the message 'For development purposes only.' Is this situation normal, or have I done something wrong?"
Hi,
File.Delete(FilePath,FileName) deletes a file directly from hard-disk, similar as holding Shift and then delete.
I searched but can't find nothing on how to delete to Windows Recycle bin. (For sure I'm not the only one asking this right?)
So I asked GPTchat and it came up with 2 scripts...
Hi,
Can't figure out why this works:
Dim RS3 As ResultSet = Main.SQL2.ExecQuery("SELECT Fullpath, Filename, Size, Date, Time FROM DblFiles WHERE Fullpath = 'C:\temp\{C}\'")
But this does not, while the variable beholds the same string:
Dim RS3 As ResultSet = Main.SQL2.ExecQuery("SELECT...
Hi,
I read several posts and studied several examples but I can't connect my ESP8266 D1 mini to the broker.
Sub Process_Globals
Private Broker As MqttBroker
Private Client As MqttClient
Private ESPTopic As String = "ESP8266_1"
Private Name As String = "SKIKK_1"
End Sub
Sub...
Hello
I'm trying to get the calling view upon selection of a context menu entry
Context menu(from the editor):
[
{
Text:"Detailed Info",
EventName : "ShowDetailedInfo"
}
]
Called sub:
Private Sub ShowDetailedInfo_Action
Dim mi As MenuItem = Sender
End Sub
I know...
Hello,
The below code is checking files in a selected folder and uses the Java code I found here in the forum.
Why do I see the JavaObject contents as Items in the Log but not in the Listview?
Perhaps I'm doing something wrong, could someone point me how to fix this?
Sub GetTheFolderContents...
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.