android

  1. mikhatri

    Wish Logs Panel suggestion for B4A

    Hello everyone, First of all, a huge thank you to Erel for this amazing product. I would like to suggest a feature that could significantly improve the development experience in B4A, specifically regarding the Logs Panel. Currently, when we want to copy specific error lines for debugging, the...
  2. Lucag7

    Android Question BLE Scan: CLV and internal List won't clear/update after device disconnect

    Hi everyone, I'm working on an app that manages a connection with a BLE device, and I'm running into an issue with updating the UI after a disconnect. The Setup: The first page has a "Scan" button, a CustomListView (CLV) to display available devices, and an internal List to store the memorized...
  3. aminoacid

    Android Tutorial [B4A] [B4I] App Testing - Lambdatest Simulation/Emulation - For Android and iOS

    This is not really a tutorial but an informative post that I thought would be of some interest to the community....... I have been using appetize.io for testing my B4A and B4I Apps and I really like what it provides for free. You can find several posts here on appetize.io. For those of you who...
  4. B4A_Student

    Android Question B4A setup on linux

    we're tasked to install B4A for out lesson, i have previous experience on python and c++ but im quite struggled here, im trying to compile a app bundle but im getting this error without any more error message which give me hard time understanding how to debug it my self, same error persist...
  5. E

    Android Question Transparent System Bars issue in B4XMainPage

    Hi, In B4A I’m trying to use Edge-To-Edge for Android 15+ (SDK 35+), and it works correctly. For devices below Android 15, I use the following code to make the StatusBar and NavigationBar transparent: Sub MakeSystemBarsTransparent(act As Activity) Dim jo As JavaObject Dim window As...
  6. AbdurRahman

    Android Question How to redirect links in webview ?

    Starting by thanking builder from depth of heart. I must say its only fastest way to develop android apps. 😍 What I want to achieve ? To support webview display PDFs, in customised UI (PDF.js only 2 buttons: print and back button) What I tried: #Region Project Attributes...
  7. AbdurRahman

    Android Question RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()

    Hi, first of all, much thanks for such super IDE Its tiny, but no less than rocket in pocket I migrated my signage system from kotlin to b4a and development pace yet shoot up 🚀 I had challenge, to keep app running 24h I'm using auto restart code (by @OliverA 😍) with little help from gpt...
  8. M

    Android Question JMQTTBroker V1 (B4A compatible) with Events ?

    Hi everyone! I'm developing an Android application that needs a local MQTT broker. However, the v1 broker compatible with android is very very limited... I wanted to ask if someone here in the forum owns an edited library that supports broker events like ClientConnected, ClientDisconnected...
  9. rtek1000

    Wish Installation requirements

    Hello, I would like to suggest that the installation page have information about the minimum requirements for installation. I noticed that the current version of B4A requires an x64 Operating System (Windows 7), DotNet4.5. For example, without DotNet you may get a black screen when trying to...
  10. WebQuest

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

    Android Question Iax Library

    Hi everyone! Is there a library that uses the IAX protocol for Asterisk? Since not all smartphones support the SIP protocol anymore, I think it's a good alternative for VoIP. Plus, it handles everything with just a single port opened on the server.
  12. 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 -...
  13. faniry

    Android Question How to Auto-Redirect My Website from Android WebView Apps to an External Browser?

    Attempt 1: Using googlechrome: if (/android/i.test(navigator.userAgent)) { window.location.href = `googlechrome://${window.location.href.replace(/^https?:\/\//, '')}`; } Result: The link stays inside LinkedIn’s WebView (no redirection happens). Attempt 2: Using Android Intent if...
  14. M

    Android Question Self update APP (System App and Device Owner)

    Hi everyone, i'm developing an Application that is set to be device-owner (for kiosk purposes) and it also signed with the device producer (so it is a system app). This app is already able to trigger the installation of other apks with this intent based code: Public Sub...
  15. S

    Android Question Crash during debug

    Hi, my app Android work fine and not have any bug in debug and release mode, but during the debugging crash if i'm wat any 273 seconds. I have this message in unfiltered log. Help me Thread[2,tid=7312,WaitingInMainSignalCatcherLoop,Thread*=0xb400007a89026000,peer=0x15101720,"Signal Catcher"]...
  16. zharpg

    Android Question Is there a way to play audio output on device speaker and bluetooth speaker simultaneously

    I'm a beginner on this developing/programming activities and i want to learn to create a simple app that can make an android device plays audio output on device speaker and on connected bluetooth speaker simultaneously. Currently using a tablet s9 ultra which has 2 speakers (left & right) output...
  17. CorryWestSide

    Android Question Usb IrDa Dongle implement Idea

    Hi, with this post i wanna ask you if theres is a way to implement a Usb IrDa Dongle device comunication. Actually my idea is very simple, make an app that uses the USB connection with InfraRed Tecnology for communicate with a my vending machine port for recover sales data and then analys the...
  18. Egepa

    Android Question Android InputStream does not work when re-openned

    Hello everyone, I am experiencing a similar bug to this post https://www.b4x.com/android/forum/threads/do-i-always-have-to-reconnect-my-usb-accessory-before-opening-it.30222/, when i try to call InputStream.close() on my apps onDestroy() it does throw "read interrupted" exception fine. However...
  19. M

    Android Question how to set automatic widget android in home screen

    hi my app is have a widget for make my app live for get and send gps location services i want after run my app if widget is no active in home screen is automaticly added this in there
  20. walterf25

    Self Contained AR Glasses (Snapchat new Release)

    Hi all, just wanted to share this real quick, I am finally able to publicly speak about what I have been working on for the past 2 years at Snapchat Inc. These new AR Glasses are now officially released. The reason I am posting this is to give everyone a small peek into what the future of AR...
Top