Hello everyone,
I'm trying to connect to a server via SFTP using the JSch library.
I can connect successfully using FileZilla, but I'm unable to connect through my application.
From the logs, I got this error:
com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO...
I developed a two-way chat system using ServerSocket and Socket in B4X. This project allows a connection to be established between a client and a server within a local network, enabling messages to be exchanged in real time.
🔹 Code structure
The system is based on:
- ServerSocket for...
Hello everyone,
I'm using the AS_DatePicker library (v1.31) and I've encountered two main issues. I’m displaying the DatePicker inside a Panel that becomes visible when a Label is clicked, and it hides again once a date is selected.
Here are the problems I’ve run into:
Wrong Year Selected on...
I have written a simple response to return the text of a file to the system requesting it. The text file is simple json and it works fine. However, I also need to send a zip file. The requirements do not allow me to send it via FTP, I have to send it via websocket, I am using AsyncStreams. I...
Hi, Which approach is better for implementing a user interface: direct coding or using Designer (layout)? Which method offers greater speed and is more standard? Furthermore, if the UI is implemented with a layout, is it possible for it and the .bal files to be decompiled and stolen? If so, how...
We would like to create a library in the B4xLib format.
The library must contain Activities, with their respective .bal layout files.
Unfortunately, the B4a program that will use this library, reports the error "The given key was not present in the dictionary." and reports a compilation error...
I am developing an Android application using B4A, and my goal is to implement a real-time chat feature. My approach is to use Sockets for all application communications, including user registration and login processes, as well as the main chat section, to create a completely real-time...
Finally released my last game. It's been almost 2 years in the making (not full time, obviously, and I've made other parallel projects), but I proudly can bring to you the game in its final form (here is the WIP thread, you can see there the making of)
DOWNLOAD HERE!
🔵 Bubble Shooter -...
inside class:
' inside another sub for initilize
wve.Initialize(webv)
Dim WebChromeClient1 As DefaultWebChromeClient
WebChromeClient1.Initialize("WebChromeClient1")
wve.SetWebChromeClient(WebChromeClient1)
private Sub webv_PageFinished (Url As String)
' wve is same webviewextras
'This...
Hello
I created a chat page, now I want it to be like Telegram, where when we click on the edit text, the keyboard opens and the edit text button appears above the keyboard, so we can see what we typed
I couldn't think of anything, because the layout doesn't work either, because the keyboard...
hello
if you have a panel and you want scroll this panel then you use this source.
at first create scrollview in source code
then cut views in your panel and paste in scrollview panel
now show this
' ______________________________________
If scvSetup.IsInitialized = False Then...
Hi,
I have a complex client/server app that I'm not sure I can share the entire code with but happy to do a zoom with someone to show them what is happening.
The server side sends a packet of data that contains everything to draw the GUI on the screen - this includes labels and edit text...
Here Log when i plug-in and try to start a communication with my otg - USBToIrDa
Manufacturer : ARKMICRO ������������������������������������
Product : USB TO IRDA ��������������������������������������
Serial : not available
DeviceName : /dev/bus/usb/001/014
DeviceClass ...
Hi DonManfred,
Sorry to trouble you. I'm having some issues with the authorisation flow using the v7 SDK.
Where as previously I could call auth.startOAuth2Authentication and all was right with the world, I'm having issues getting auth.startOAuth2PKCE to work.
is...
hello
i use wait for in other module
public Sub sendToUrl( url As String ) As ResumableSub
'Log(Sender.As(B4XPagesManager.GetPageInfoFromRoot.B4XPage.))'
LogColor(DateTime.Now,Colors.Magenta)
Dim j1 As HttpJob
j1.Initialize("", Sender)...
In the five years that I have been using my single B4XPage expandable Drawer menu in B4J and B4A, both the IDEs and the B4X components have evolved. The time was ripe to create a new version called m3Menu. Below the result and an overview of the possibilities:
The starting point was that the...