Último tema hace 5 d

B4X Programming Forum

www.b4x.com/android/forum

Foro XenForo en inglés. 12 secciones seguidas: Additional libraries, classes and official updates, Android Questions, B4J Libraries & Classes, B4J Questions, B4J Share Your Creations, Bugs & wishlist, Code Snippets, iOS Questions, Libraries developers questions, Old Libraries Archive, Share Your Creations y Tutorials & Examples.

Discusiones por día
25
Discusiones recopiladas
245
Mensajes por día
49
Secciones
12
Fuentes seguidas
13
Motor
XenForo

Últimas discusiones

Recogido cada 4 horas desde el feed público del foro. Solo se reproducen el título, el enlace y el principio del mensaje; cada enlace remite a la fuente.

B4A - DeclarativeUI Library

Hi everyone, After too many long power cuts, I apparently had the questionable idea of writing a small declarative UI wrapper for B4A. DeclarativeUI is an experiment inspired by Flutter and other modern UI frameworks. It lets you describe a screen as a tree of widgets instead of creating and positioning every native view manually. For example:: Dim body As UIColumn body.Initialize _ .Spacing(12dip) _ .AddChild(title) _ .AddChild(description) _ .AddChild(actionButton) The library currently includes state binding, natural layout, themes, navigation inside one Activity, dialogs, snackbars, animations and native view interoperability. It is not intended to replace B4A or B4X, and it is definitely not a complete Flutter implementation. It is just a small beta project with rough edges, created to explore whether this style of UI development feels useful in B4A. Is it revolutionary? Probably not. Is it useful? Maybe. I am sharing it mainly to get feedback. If you try... Read more

B4A - DeclarativeUI Library

Hi everyone, After too many long power cuts, I apparently had the questionable idea of writing a small declarative UI wrapper for B4A. DeclarativeUI is an experiment inspired by Flutter and other modern UI frameworks. It lets you describe a screen as a tree of widgets instead of creating and positioning every native view manually. For example:: Dim body As UIColumn body.Initialize _ .Spacing(12dip) _ .AddChild(title) _ .AddChild(description) _ .AddChild(actionButton) The library currently includes state binding, natural layout, themes, navigation inside one Activity, dialogs, snackbars, animations and native view interoperability. It is not intended to replace B4A or B4X, and it is definitely not a complete Flutter implementation. It is just a small beta project with rough edges, created to explore whether this style of UI development feels useful in B4A. Is it revolutionary? Probably not. Is it useful? Maybe. I am sharing it mainly to get feedback. If you try... Read more

Enable HTTP3 Support for JServer5

Extend JServer 5 to add http3 support. Note:Jetty 12 HTTP/3+QUIC support is experimental and not suited for production use. You can test it using curl B4X: curl --http3-only -k -I "https://localhost:8443" HTTP/3 200 server: Jetty(12.1.10) date: Wed, 02 Sep 2026 01:03:38 GMT last-modified: Fri, 21 Aug 2026 16:09:34 GMT content-length: 442 content-type: text/html;charset=utf-8 accept-ranges: bytes You need a CA signed server certificate for browser testing. Here is the example and library , you can download it.

Enable HTTP3 Support for JServer5

Extend JServer 5 to add http3 support. Note:Jetty 12 HTTP/3+QUIC support is experimental and not suited for production use. You can test it using curl B4X: curl --http3-only -k -I "https://localhost:8443" HTTP/3 200 server: Jetty(12.1.10) date: Wed, 02 Sep 2026 01:03:38 GMT last-modified: Fri, 21 Aug 2026 16:09:34 GMT content-length: 442 content-type: text/html;charset=utf-8 accept-ranges: bytes You need a CA signed server certificate for browser testing. Here is the example and library , you can download it.

[Linux] [B4X] Wine Installer

Install B4A+B4J on Linux Mint using Wine with a single silent script​ GitHub: https://github.com/pyhoon/b4x-wine-installer Files: install_b4x_wine.sh uninstall_b4x_wine.sh configure_b4x_settings.sh README.md Archived: install_b4a_wine.sh install_b4j_wine.sh uninstall_b4a_wine.sh uninstall_b4j_wine.sh configure_b4a_settings.sh configure_b4j_settings.sh repair_b4a_launcher.sh repair_b4j_launcher.sh The script is modified from the combination of B4A Wine Installer and B4J Wine Installer script generated by AI (Qwen3.6-Plus chat) Using a single wine prefix saved you 3GB+ of diskspace. Disclaimer: I haven't really fully tested it. Use it at your own risk. How to use​ Just 3 lines of commands (You can copy and paste in one go). Bash: wget https://raw.githubusercontent.com/pyhoon/b4x-wine-installer/main/install_b4x_wine.sh chmod +x install_b4x_wine.sh... Read more

[Linux] [B4X] Wine Installer

Install B4A+B4J on Linux Mint using Wine with a single silent script​ GitHub: https://github.com/pyhoon/b4x-wine-installer Files: install_b4x_wine.sh uninstall_b4x_wine.sh configure_b4x_settings.sh README.md Archived: install_b4a_wine.sh install_b4j_wine.sh uninstall_b4a_wine.sh uninstall_b4j_wine.sh configure_b4a_settings.sh configure_b4j_settings.sh repair_b4a_launcher.sh repair_b4j_launcher.sh The script is modified from the combination of B4A Wine Installer and B4J Wine Installer script generated by AI (Qwen3.6-Plus chat) Using a single wine prefix saved you 3GB+ of diskspace. Disclaimer: I haven't really fully tested it. Use it at your own risk. How to use​ Just 3 lines of commands (You can copy and paste in one go). Bash: wget https://raw.githubusercontent.com/pyhoon/b4x-wine-installer/main/install_b4x_wine.sh chmod +x install_b4x_wine.sh... Read more

[Web] SithasoDaisy5 Demo (Code Only Version) - For Non Abstract Designer Users

Hi Fam Experience on Vercel Download Code The first draft of the SithasoDaisy5 Demo Code Only Version is out. This demo has been built with code only and does not need abstract designer layouts to work. Why did we also consider this approach? We have recognized that some developers prefer to type code / use AI to code above and beyond using the abstract designer and we needed to make this option available. The code has been generated directly from the layouts, i.e. we look the existing layouts and just converted each component in them into b4x code, e.g. Initialize & AddComponent with properties settings in-between. We used the same code used from our BJL/BAL/JSON coding tool to assist with the conversion and a lot of ChatGPT Codex to get here This UI should be the same as the layout based version. You will need the SithasoDaisy5 b4xlib to run the source. #SharingTheGoodness Related Content... Read more

Edge To Edge fix behaving differently on different devices

I am getting extra white space at the top of the screen on my Samsung Galaxy Tab A7 Lite. The first image is a Pixel 7 - it is fine. But The Samsung does this: Here is the code: B4X: IME.Initialize("IME") RootMain = xui.CreatePanel("") RootMain.Tag = "RootMain" Dim Content As Rect = IME.GetContentRect Activity.AddView(RootMain, Content.Left, Content.Top, Content.Width, Content.Height) IME.UpdatePercentageReference(RootMain.Width, RootMain.Height) RootMain.LoadLayout("Main") ' Activity.LoadLayout("Main") The designer layout looks correct when connected to the devices. Any ideas appreciated.

Edge To Edge fix behaving differently on different devices

I am getting extra white space at the top of the screen on my Samsung Galaxy Tab A7 Lite. The first image is a Pixel 7 - it is fine. But The Samsung does this: Here is the code: B4X: IME.Initialize("IME") RootMain = xui.CreatePanel("") RootMain.Tag = "RootMain" Dim Content As Rect = IME.GetContentRect Activity.AddView(RootMain, Content.Left, Content.Top, Content.Width, Content.Height) IME.UpdatePercentageReference(RootMain.Width, RootMain.Height) RootMain.LoadLayout("Main") ' Activity.LoadLayout("Main") The designer layout looks correct when connected to the devices. Any ideas appreciated.

[Web] Shop Stock Taking App With Companion Mobile App - Vibe Coded

Hey there So I decided to try vibe coding a completely new web app using DaisyUI between everything Im trying to relearn in b4a. Just when I was about to present this, I was just requested to make it single user, multiple stores. Phew. Below is the single user single store version. So this is two apps, one admin and one for the "employees" who will actually do the stock take. I was just searching for a complete products db as I wanted to check this with a real product in my grocery cupboard, Open Food Facts proved helpful. Will check this out later today. I scanned a few things in my cupboard. Stock Take On Mobile App The app is hosted with pockethost (a pocketbase hosting platform). This already has https so the web camera works well. Vibe coded? What about SithasoDaisy5 ? After finalizing the process of writing AI skills for B4XDaisyUIKit , a lot was learned, so SithasoDaisy5 Skills is the next gate. I did start... Read more

[Web] Shop Stock Taking App With Companion Mobile App - Vibe Coded

Hey there So I decided to try vibe coding a completely new web app using DaisyUI between everything Im trying to relearn in b4a. Just when I was about to present this, I was just requested to make it single user, multiple stores. Phew. Below is the single user single store version. So this is two apps, one admin and one for the "employees" who will actually do the stock take. I was just searching for a complete products db as I wanted to check this with a real product in my grocery cupboard, Open Food Facts proved helpful. Will check this out later today. I scanned a few things in my cupboard. Stock Take On Mobile App The app is hosted with pockethost (a pocketbase hosting platform). This already has https so the web camera works well. Vibe coded? What about SithasoDaisy5 ? After finalizing the process of writing AI skills for B4XDaisyUIKit , a lot was learned, so SithasoDaisy5 Skills is the next gate. I did start... Read more

245 discusiones recopiladas desde el 2 de septiembre de 2026. Seguir este foro por palabra clave →