Tutorials & Examples

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

B4A Social Network Version 1.50

[B4X] AS TextFieldAdvanced - Underline Style

Attachments

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

[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: 770
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: 1,020
  • sql.zip
    1.5 KB · Views: 1,037
  • Project.zip
    207.2 KB · Views: 1,245
Last edited:

Create a B4X library with Android Studio - Step by step

Attachments

  • 1642537591575.png
    1642537591575.png
    9.2 KB · Views: 437
  • 1642537591596.png
    1642537591596.png
    47 KB · Views: 376
Last edited:

[B4X] AS Scheduler - MonthView HeatMap

Attachments

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

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: 656
  • Section 3 Step 1-11.pdf
    501.9 KB · Views: 568
  • Section 3 Step 12.pdf
    488.1 KB · Views: 485
  • Section 3 Step 13.pdf
    456.3 KB · Views: 635
  • Section 3 Step 14.pdf
    450.6 KB · Views: 463
  • Section 3 Step 15-16.pdf
    457.5 KB · Views: 521
  • Section 4-5.pdf
    393.4 KB · Views: 457

Syncing local databases using PHP to access a database on a hosted server

My need was to sync calendars in which user 'A' changes the calendar and sends the change to other users by writing records to the hosted database.
The other users query periodically to see it...
 

Attachments

  • TestPhp.txt
    4.1 KB · Views: 380
  • TestPHP.zip
    12.8 KB · Views: 77
Last edited:

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

[B4X] AS PopupMenu with icons


(53) mage.png
(54) mage.png


B4X:
Private Sub ShowMenu
    
    aspm_Main.Initialize(Root,Me,"aspm_Main")...
 

Attachments

  • AS PopupMenu with Icons.zip
    177.4 KB · Views: 87

How to Install and Run Android Apps Natively on Windows 10 and 11 with WSABuilds

Hello B4X community! If you've ever wanted to use Android apps directly on your Windows 10 or 11 PC, you're in luck. I'll provide you with a detailed tutorial on how to achieve this using...
 

Attachments

  • 2023-12-25_172950.png
    2023-12-25_172950.png
    51.9 KB · Views: 360
  • 2023-12-25_173027.png
    2023-12-25_173027.png
    54.6 KB · Views: 313
  • 2023-12-25_173126.png
    2023-12-25_173126.png
    50.1 KB · Views: 318
  • 2023-12-25_173309.png
    2023-12-25_173309.png
    153.6 KB · Views: 342

[B4X] AS SegmentedTab - Custom tab width


AS SegmentedTab Custom Tab Width.gif


B4X:
    ASSegmentedTab3.mBase.Color = xui.Color_ARGB(255,42, 156, 255)...
 

Attachments

  • AS SegmentedTab Custom Tab Example.zip
    178.1 KB · Views: 133

[B4X] Supabase - Supachat chat example app


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


Setup...
 

Attachments

  • Supabase Chat.zip
    198 KB · Views: 86
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] Supabase - Column Alias


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

[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] 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] FirebaseFirestore - ChatApp Demo

Happy New Year!!!!
Here is a chat demo of FirebaseFirestore with Android, Windows & iOS

 

Attachments

  • Project.zip
    196.9 KB · Views: 119

WebViewExtras Examples for beginners

I noticed a lot of beginners are confused about how to use the WebViewExtras library so I made a detailed example.
If you find it useful, kindly consider buying me a coffee.

Code works on Android...
 

Attachments

  • WebViewExtras.zip
    12.5 KB · Views: 920
  • WebviewExtras2Example.zip
    7 KB · Views: 160
Last edited:
Top