b4a

  1. F

    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
  2. 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...
  3. 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
  4. 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...
  5. 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"...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. M.Amini

    Android Question how can I change Orientation of Activity title

    hi how can I change Orientation of Activity title
  14. AbdurRahman

    Share My Creation Sun, Earth and moon revolution orbit

    For learning purposes, I wrote a code that rotates an object in circle in pure way WITHOUT USING ANY 3RD PARTY LIB OR FUNCTION ;). Important code is: Sub rotate( parent As ImageView, child As ImageView, latency As Int, r As Int) As ResumableSub Dim parent_vertical_center As Double...
  15. erraticless

    Android Question Freezing app while phone screen off

    Hello, When i run my project (an activity with a service) in release mode in my Samsung Galaxy S20, after about 3 minutes of screen turned off, the complete app just freezes for a few seconds (or even minutes sometimes) until i turn on screen again, and then the program continue working...
  16. AbdurRahman

    Android Question revolve image in circle ?

    Hi, I'm trying to revolve earth image around sun image making an orbit without using 3rd party libraries or builtin functions. So here's what I achieved: If you notice its revolves in rectangle but not in circle. So whats correct formula for moving it in circle ? Here's my current code: This...
  17. B

    Android Question B4A Designer don't save layout anymore

    Yesterday i opened B4A to modify a project and i notice the UI of B4A was resetted. So i reimposted the theme and the layout of the windows (logs, files, lib, ecc); i tried to close and open again and the setting was saved. When i opened the Designer the UI was also resetted, so i reimposted all...
  18. mdje

    Android Question The problem of running lottie files

    Hello, when I try to run the lottie file with the AXrLottie library, I encounter this error : java.lang.IllegalStateException: Missing values for keyframe.
  19. F

    Android Question Unsupported option: --v4-signing-enabled, B4A 11.8

    Hi everyone, I'm trying to rebuild my old app, but this error message shows: Unsupported option: --v4-signing-enabled. See --help for supported options. I downloaded the files from https://www.b4x.com/b4a.html, but the problem is not fixed, I tried to build a project on Android Studio using...
  20. R

    Android Question Help in Parsing Weather Json and showing it on label

    Hello, I need a small help or an example. I have a small section in my App where I want to show the live Weather plus weather conditions for the next 3 days. I am using accuweather for this. I am getting the following json data response. { "Headline": { "EffectiveDate"...
Top