Tutorials & Examples

Android development starts here. Please do not post questions in this sub-forum.

[B4X] Features that Erel recommends to avoid

Many things have changed in B4X and also in the underlying platforms. I will try to list here all kinds of (old) features that have better alternatives.
B4X is backward compatible so these...
 
Last edited:

[B4X] "Code Smells" - common mistakes and other tips

"Code smells" are common patterns that can indicate that there is a problem in the code. A problem doesn't mean that the code doesn't work, it might be that it will be difficult to maintain it or...
 
Last edited:

[B4X] Documentation Booklets

The B4X documentation booklets are available in PDF format, Download Link.
All files are included in the zip file in the link above, pdf booklets and all the source code.

You can also...
 
Last edited:

[B4X] Supabase - Sign In Anonymously


Supabase now supports anonymous user login, the B4X library now too...
 

[B4X]How to Implement Lottie in B4XPages (AXrLottie B4A and iLotttie B4i)

This is B4XPages example for LOTTIE implementation on Android and iOS

B4A Implementation

Uses AXrLottie. Download the library and dependencies here...
 

Attachments

  • LottieB4XExample.zip
    102 KB · Views: 14
Last edited:

Athom Pre-Flashed TASMOTA Infrared Remote Controller with B4X (Home Automation)

B4A Social Network Version 1.50

GPT & Search application (to sell)

Hello everyone, it's been a while since I posted here.
I had developed a conversation and research application in artificial intelligence, before publishing I offered two types of sales to see if...
 
Last edited:

[B4X] Supabase - Column Alias


You can use column aliases in Supabase. All you need to do is write the alias name, a...
 

[B4X] AS Scheduler - MonthView HeatMap


1706016697704.png


Setup
-Set in the designer...
 

Attachments

  • AS Scheduler MonthView Heatmap Example.zip
    71.9 KB · Views: 80

[B4X] AS Settings - Master and child switch


You need AS_Settings V2.00+ for this example.

In the following example, PropertyName_2 and PropertyName_3 are set to...
 
Last edited:

[B4X] AS Settings - Boolean Property


(1) FTZzgV4CZDcESNrYZIq5EviLuJFH2gGZ8o09ODFHc5Fe4IrWdZ.png

Example
B4X:
'Boolean
AS_Settings1.MainPage.AddProperty_Boolean("Basic","PropertyName_1","Boolean Property...
 

Resolving problems with EPUB version of the B4A-Rapid book version 12-50

Two people have complained that the EPUB version of the B4A-Rapid book version 12-50 is corrupt.
We have not been able to reproduce any errors.
We can read the EPUB on a Windows 11 PC using...
 

[B4X] AS Settings - Deactivate a property if a certain condition is met


You need AS_Settings V2.00+ for this example

The object property has a new variable called "view". It contains the...
 
Last edited:

[B4X] Supabase - INSERT or UPDATE a record and return it


It is possible to create a new data record and return it directly.
Use the...
 

[B4X] AS Settings - ActionClean Property


This property is like the action property, only in a cleaner version. Here there is only an icon and the display...
 

BBCodeView Example (Non B4XPages Version)

The standard example just converted. Don't know If someone did it before (so far). Might be happy to remove this post.

1688240567163.png
 

Attachments

  • BCTextExampleNonPages.zip
    22.9 KB · Views: 163

[B4X] Supabase - Realtime Presence


Share state between users with Realtime Presence...
 

[B4J] [B4A] Expandable CLV with sub-items (similar to a tree)

[B4X] Supabase - Realtime Broadcast


Send and receive messages using Realtime Broadcast...
 

[B4X] AS Settings - Action Property


This property is used, for example, to manage properties that are on another page. Or to open links, open a picker so...
 
Last edited:

[B4X] AS Settings - Text Property


This property is for text input. Normal text, numbers or decimal numbers.

1707945375522.png


AS_SettingsTextExample.gif


Example...
 

[B4X] AS Settings - DescriptionItem


This is a description item, this can be used to provide more information about a particular feature.

1707947080201.png
...
 
Top