b4a

  1. 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"...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. M.Amini

    Android Question how can I change Orientation of Activity title

    hi how can I change Orientation of Activity title
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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.
  15. 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...
  16. 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"...
  17. EasyDraw

    Android Question NFC problem targeting S+

    Hello, I am a new student programming in Android and I am developing an application that uses NFC using the B4A IDE. I have a problem with NFC reading only in Android version 12. Anyone can help me with some tips or any ideas?! Thanks in advance!!
  18. Isaac0maq

    Android Question Build contacts

    Hello to all? I am a newcomer and I want to get your help to create a program that can create and save many contacts randomly. of them to add in channels such as Telegram or WhatsApp and... used Can you help me to achieve this success together?!? Thank you for your help, I love you?
  19. G

    Android Question B4A FireBase Push Notification to Specific Device - Get the Id

    Hello everyone! I am trying to send a notification (I am using firebase push notification), to a specific device. I found on forum, that I can do this using "fm.Token". But, how can I get this Id to send a notification specific to this device? Thank you in Advance.
  20. pejmannikravan

    What are the promotional plans for B4X?

    hello dears and B4X team. We all know that B4X has improved dramatically over the years... But the main problem is that the B4X developer community is very small and the number of developers is small, perhaps due to lack of advertising! The B4X has great potential, but I don't think anyone knows...
Top