b4a

  1. BrotherEarth

    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...
  2. mohsen programmer

    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...
  3. 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...
  4. 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.
  5. mohsen programmer

    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...
  6. 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.
  7. xiaoyao

    Android Question layout,button auto set text="button1"

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

    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 -...
  9. Jim2025

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

    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...
  11. modiranghaneipour

    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...
  12. 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...
  13. CorryWestSide

    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 ...
  14. 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...
  15. modiranghaneipour

    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)...
  16. MicroDrie

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

    Android Question DropBox SDK v2 & Java SDK v7.0.0

    F.a.o DonManfred Apologies if I'm being blind, but I can't seem to find the download for the current xml and jar files for the dropbox sdk v2. The first post seems to indicate that it has been updated to wrap the version 7.0.0 SDK but only the additional files are there. I tried editing an...
  18. Z

    Android Question check if something is printed

    Hi... I have Android device with an integrated printer. Make and model are irrelevant. My app must collect printed data, so the manufacturer created a small API for that. I'm accessing that API on timer, but if I can somehow see that something is being printed I can only then access API...
  19. jsaplication.mobile

    Android Question load file webview file://android_asset/www/index.html

    Hello B4A Team, I would like to bring to your attention an issue that significantly affects the development of hybrid applications in B4A. Over the past few years, I have noticed that support for loading local HTML files using the path file:///android_asset/www/index.html has been discontinued...
  20. intellvold

    B4A Library SimpleLottieB4A (AXrLottie)

    java.lang.UnsatisfiedLinkError: No implementation found for long com.aghajari.rlottie.AXrLottieNative.create(java.lang.String, int, int, int[], boolean, boolean) (tried Java_com_aghajari_rlottie_AXrLottieNative_create and...
Top