b4a

  1. G

    Android Question SFTP Connection Error using JSch

    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...
  2. Android Example Bidirectional chat with ServerSocket in B4X

    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...
  3. Y

    Android Question at can I do, I'm a beginner.

    B4A版本:13.10 解析代码。(0.11秒) Java版本:19 构建文件夹结构。(0.07秒) 运行自定义操作。(0.04秒) 编译代码。(0.23秒) 编译布局代码。(0.00秒) 组织图书馆。错误 找不到美芬神器:com.android.support/support-compat 来源:B4XPreferencesDialog 帮帮我,
  4. Android Question Issues with AS_DatePicker (v1.31) - Wrong Year Selected and Incorrect Day of Week Displayed

    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...
  5. Android Question Transmitting an already zipped file from Android via AsyncStreams

    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...
  6. Android Question UI Implementation: Code vs Layout?

    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...
  7. B

    Android Question B4xLib Question Folder "Files"

    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...
  8. B

    Android Question Library B4XLib visibility class

    Would there be a possibility to make modules/classes with visibility private, when creating libraries in the B4XLIB format? Thanks.
  9. Android Question Socket Library

    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...
  10. B

    Wish Compiling Library in format b4xlib

    It would be very useful to add compilation functionality also for libraries in the b4xlib format, including the "manifest.txt" file.
  11. Android Question layout,button auto set text="button1"

    添加按钮会自动添加文本默认情况下,button1.text =“ button1” 这更接近VB6 IDE的使用,当初学者或仅测试时,他们希望通过最小的操作实现功能
  12. Share My Creation Bubble Shooter World [GAME]

    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 -...
  13. Android Question why B4A.CallSub inside class not work?

    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...
  14. Android Question Ensuring Visibility Above the Keyboard

    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...
  15. Android Tutorial HOW YOU CAN USE ScrollView

    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...
  16. C

    Bug? Bug with edittext_textchanged event

    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...
  17. Android Question Error: java.io.IOException: Error writing 8 bytes at offset 0 length=8 [UsbSerial AND AsyncStreams LIBRARY]

    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 ...
  18. G

    Android Question Dropbox v2 auth flow

    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...
  19. Android Question wait for Error

    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)...
  20. Share My Creation Interactive expandable multi B4XPages Drawer menu (tested in B4J and B4A)

    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...
Cookies are required to use this site. You must accept them to continue using the site. Learn more…