android

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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.
  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. 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...
  10. 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...
  11. 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"]...
  12. 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...
  13. 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...
  14. 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...
  15. 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
  16. 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...
  17. mikhatri

    Android Question Why my App ask for installation when i test in debug mode ?

    Hello Everyone, How are you all ? I'm facing a bit of trouble. Every time I create a new project in B4A and run it for the first time in debug, or when I make changes to the design and run it in debug mode, my app always asks for installation on the connected Android phone. I've noticed that...
  18. K

    Android Question AndroidManifest.xml content to ManifestEditor

    Good day! I am struggling with a problem concerning my POS application integration with the VIVA softPOS application. The documentation on developer.viva.com give us: Intent payIntent = new Intent(Intent.ACTION_VIEW, Uri.parse( "vivapayclient://pay/v1"...
  19. Luna9412

    Android Question Screen Orientation

    Hello, I'm having problems with the orientation of my app, I'm trying to set the main layout in PORTRAIT and the second Layout in Landscape but it's only posible if the phone has the orientation activated, I want to.... force the app to change to Landscape... I tried using...
  20. CorryWestSide

    Android Question How to sign an XML in B4A?

    hi, the question is very easy, i make a function for build a xml structure so i put it in a file and save it like xml. Easy, the problem is that i have to sign this file for send it to Italian Tax Agency and i have with me only a x509Certificate. On Internet i found that with only that i can...
Top