Tutorials & Examples

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

[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] 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:

B4Xgoodies_from_walt61 Online

Well,

As JamesGreaves requested,
"So do you not think it would be of value to have even something like @walt61 has created but online?"...
 
Last edited:

2D Car game Example

Hi All.
Here is a very simple example of 2D Car game.
I did so for study purposes. I'm sure this is not the correct way to create a game. :D:D


carro (1).jpg


You can download it...
 

[B4X] Supabase - Realtime Broadcast example app


This is a simple B4X broadcast example with supabase as backend.

...
 

Attachments

  • Supabase Broadcast Example.zip
    185.1 KB · Views: 106
Last edited:

[B4X] AS Settings - DescriptionItem


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

1707947080201.png
...
 

[B4X] AS Settings - ComboBox Property


With this property, the user can quickly select one of several options via a combobox. It use the native combo box for...
 

[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 - ActionClean Property


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

[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 - Boolean Property


(1) FTZzgV4CZDcESNrYZIq5EviLuJFH2gGZ8o09ODFHc5Fe4IrWdZ.png

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

[B4X] AS Settings - SelectionList Property


With this property, you can offer the user several options and he can then select either one or more.
(57) mage.png
...
 
Last edited:

Social Network created by B4A (Chat included)





After searching all over the forum, I noticed that there are no examples that speak of a Social Network, so I decided to write one.

This example below...
 

B4A Social Network Version 1.30

B4A Social Network Version 1.50

[B4X] AS TextFieldAdvanced - Underline Style

Attachments

  • AS TextFieldAdvanced Underline Example.zip
    203.4 KB · Views: 58

[B4X] TextEditor - Save and load external files

This is a B4i and B4A example, which demonstrates various external files related tasks.

1626784777442.png
1626784790557.png


The behavior is not exactly the same as the platforms capabilities and behavior...
 

Attachments

  • TextEditor.zip
    184.2 KB · Views: 684
Last edited:

[B4X] Supabase - Authentification

The client library does the work for you, you don't have to worry about renewing the access token or using...
 
Last edited:

[B4XPages] jRDC2 + MySql CRUD + Login

Hi all:


I'm starting (at last) to work with B4XPages, so I've started to adapt the B4XPages + B4XDrawer example.
I think I’ve seen more examples with php + mysql, but no...
 

Attachments

  • jRDC_B4J.zip
    5.4 KB · Views: 991
  • sql.zip
    1.5 KB · Views: 1,016
  • Project.zip
    207.2 KB · Views: 1,219
Last edited:

Create a B4X library with Android Studio - Step by step

Attachments

  • 1642537591575.png
    1642537591575.png
    9.2 KB · Views: 419
  • 1642537591596.png
    1642537591596.png
    47 KB · Views: 356
Last edited:

[B4X] AS Scheduler - MonthView HeatMap

Attachments

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

Conversion of B4A to B4XPages

Introduction

The conversion of the first of my B4A Apps to the newer B4XPages structure was not trivial and involved over 20 hours of research, overcoming misunderstandings, and finding...
 

Attachments

  • Section 1-2.pdf
    469.4 KB · Views: 638
  • Section 3 Step 1-11.pdf
    501.9 KB · Views: 544
  • Section 3 Step 12.pdf
    488.1 KB · Views: 471
  • Section 3 Step 13.pdf
    456.3 KB · Views: 617
  • Section 3 Step 14.pdf
    450.6 KB · Views: 448
  • Section 3 Step 15-16.pdf
    457.5 KB · Views: 502
  • Section 4-5.pdf
    393.4 KB · Views: 439
Top