b4a

  1. E

    Android Question How to program a DJI follow me mission?

    Someone knows or did on the past an app to make a Mini 2 or Mini SE doing a Follow Me mission with the DJI library? I can't get it right, I saw a "tutorial" with virtual sticks but I can't understand where should I put that code, help please.
  2. KMatle

    B4R Tutorial AES256 encrypted BLE (ESP32 & B4A) example

    I took Erel's BLE example and added (as on the ESP32 side) AES256 encryption. For some reasons I wasn't able to use SPIFFS and/or WiFi parallel to BLE on the ESP32 side. Maybe you find a reason why this doesn't word (I understand WiFi & BLE using the same antenna, but SPIFFS should work but...
  3. N

    Android Question B4A SFTP Library

    Hello, I haven't needed SFTP for a long time, and now I see that Jsch library no longer works with the new version of the SFTP server due to deprecated algorithms. Is there a newer version or some other alternative for SFTP? I can't find anything useful...
  4. kstasadduq

    Android Question Need help for Inline Java Code

    I need to use the following inline java code in my B4A application: ////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////// //This broadcast receiver...
  5. N

    Italian Push notification direttamente da wordpress.

    Ciao a tutti , sono un principiante ho creato una semplice applicazione per una pagina web che ho già pubblicato su apple store e su Google Play. Riesco a mandare le PUSH direttamente dalla console di Firebase e con il codice b4j indicato da Erel nel tutorial, Ho visto che c'è un plugin di...
  6. SinaDeveloper

    Admob income

    Hello I am building a browser with b4a for Android and b4j for Windows. I really don't know if it will be profitable to use Admob ads or to add vip subscription! That's why I ask a few questions, please answer them: 1- In addition to Android, will it be possible to use AdMob in b4j? 2- Can I...
  7. V

    Android Question WebView & Action

    I Want a code like Dim domain As String = "https://google.com" WebView1.LoadUrl(domain) if WebView1.Url = "https://b4x.com" then 'Do the Action End If Means if in google he open b4x.com then some action start I Don't know how I write it to its work pls help me:)
  8. OliverA

    B4A Class Camera2Torch - Torch using B4A's Camera2 library

    Attached is the class Camera2Torch. It uses B4A's Camera2 library to use Android's CameraManager's setTorchMode method. Please note that this method is only available since API23, whereas CameraManager is available as of API21. This has been successfully tested (via sideloading...
  9. I

    Android Question NFC Application Example in b4A

    Good Day Can we have any sample application to read Credit / Debit Card public information like Card Number & Name using NFC Application. Thanks
  10. S

    B4A Class [B4X] PDF Generator - B4X Cross Platform - Class 100% B4X Code

    Hi, This class cPDF.bas (version 0.6 - 2024-01-03) generate PDF File with limited fonctionnalities (but enough for me) Add pages with different paper size (use constants or custom size) PDF standards font (Courier, Helvetica, Times, Symbol and Zapfdingbats), style (Normal, Bold, Italic...
  11. V

    Android Question If webView something do some action

    I need some code to if WebView redirect too like "https://google.com" do some action like hide app or send notification are else
  12. E

    Italian Come visualizzare le app su tablet

    Salve a tutti. Sono nuovo e da poco sto smanettando utilizzando b4a! Nonostante le svariate letture, ancora non mi è chiaro (sicuramente è un problema mio), come adattare una applicazione a device diversi. Nel mio caso, dovrei adattare una applicazione che viene visualizzata bene su uno...
  13. Mattiaf

    Android Question how to parse this html through WebView

    HI, would it be possible to parse in the folllwing website and I would like to parse the following html <div class="post-block__content_message" itemprop="articleBody" style="max-height: initial;">? Formula 1 - Messico 20:00 Prove Libere (3) 23:00 Qualifiche <a itemprop="url"...
  14. stevel05

    Android Code Snippet [DSE] [B4A] Standard Tooltips for Android 8+

    Based on @Dave O 's code in this thread, here is a Designer script extension to add standard tooltips for Android 8+ 'Parameters: Text As String, 1 view 'Code in DesignerScript:{class}.SetTooltip("Tooltip", Button1) Public Sub SetTooltip(DesignerArgs As DesignerArgs) Dim p As Phone If...
  15. Mattiaf

    Italian [B4A] Problema con WebView e fullscreen

    Salve, sto usando un sito web dove ha embeddato un video. Nonostante io allarghi il controllo webview, il pulsante fullscreen all'estrema destra della barra di sotto non è visibile. La grandezza del webview è indifferente, l'ultimo pezzetto della bar è sempre oltre la parte destra dello schermo...
  16. S

    Android Question Multiple Push Notifications possible?

    Hello all, I am new to B4A and I have followed Erel's tutorial exactly how he shown in his video including Firebase. My problem is though that when the notification is displayed on my phone, I have to swipe it away so when I run the B4J side of it again, it pops up again. It does not do...
  17. RockSmoke

    Android Question Convert String Expression To Label

    Good day to everyone. In my project on B4A, I convert the data I receive over BLE to UTF-8 units. Then I want to give it to the screen via the label, but I am getting such an error. How do i convert to label text Thanks For Your Answer. ERROR MESSAGE : (TextView) android.widget.TextView{82e135b...
  18. S

    Android Question Can't choose First option in B4XComboBox

    Hello, when I fill a B4XCombobox then I can not choose the first option. I first have to choose another option, and after that I can choose the first option. How do I solve that? I must be forgetting something, I think. As it looks like something is already chosen, but it is not. it's filled...
  19. M

    Android Question B4A - Maven artifact not found: androidx.core/core-ktx (-> lStar)

    Hi everyone, I just switched to a MacBook M1 and i'm configuring everything on Windows11 with Parallels. I followed the usual B4A installation instructions and tried to compile an already existing project. This error showed up... what can i do? i already tried to install these...
  20. M

    Android Question Transparent Panel but with Shadow

    Hi everyone, I'm experimenting some modern UI techniques... is it possibile to have a panel with transparent color and keeping the shadow? At the moment i'm achieving the shadow using the "Elevation" but if i put Color to transpartent the shadow disappears. Is there a better way to apply a...
Top