Tutorials & Examples

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

[B4X] Supabase - Realtime


This is a very simple tutorial on how to use the Realtime module. A more detailed...
 

Attachments

  • Supabase Realtime Example.zip
    10.7 KB · Views: 458
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 - Database OrderBy


You can order by just one column, or with multiple columns.

Available sorting commands...
 

[B4X] Supabase - Database Limit and Offset


LIMIT and OFFSET allow you to retrieve just a portion of the rows that are generated by...
 

[B4X] Supabase - Database Joins


In the following example I make a join into the "public.users" table and need the column...
 
Last edited:

[B4X] Supabase - Database CRUD


This is a very simple tutorial on how to use the CRUD options. A more detailed tutorial is coming soon...
 
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] Supabase - Call a Postgres function (RPC)


Perform a function call.
You can call Postgres functions as Remote Procedure Calls...
 

[B4X] Supabase - Authentification SignIn with Google


In this example, we will take a look at how we can implement authentication using Google...
 

Attachments

  • Supabase Google Auth Example.zip
    10.4 KB · Views: 440

[B4X] Supabase - Authentification SignIn with Apple


In this example, we will take a look at how we can implement authentication using Apple...
 

Attachments

  • Supabase Apple Auth Example.zip
    4 KB · Views: 393

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

[B4X] SQL with Wait For

The new resumable subs feature, introduced in B4J v5.50, B4i v4.00 and B4A v7.00 (to be soon released), makes it simpler to work with large data sets with minimum effect on the program...
 

[B4X] Sophisticated sorting with B4XComparatorSort

B4XCollections v1.13 includes a new sorting feature named B4XComparatorSort.
This feature allows sorting using a custom comparator class.
The comparator class is a class that you create and it...
 

Attachments

  • Project.zip
    15.5 KB · Views: 583
Last edited:

[B4X] Smart String Literal

The "smart string" literal is a more powerful version of the standard string literal.
It has three advantages:
  1. Supports multi-line strings.
  2. No need to escape quotes.
  3. Supports string...
 
Last edited:

[B4X] Simple function to highlight searchword in texts in CSBuilder Format

This simple function highlights all occurrences of a search term in a given text and returns the result as a CSBuilder.
The output can then be used for labels or MsgBox text.

B4X:
 Sub...
 

Attachments

  • Highlight2CsBuilder.zip
    10.1 KB · Views: 268

[B4X] Simple audio call over internet with own TURN/relay server

Attachments

  • [B4A] Socket.io Simple Call Example.zip
    116.8 KB · Views: 1,462
  • [B4i] Socket.io Simple Call Example.zip
    111.7 KB · Views: 1,156
  • [Server] Socket.io Simple Call Example.zip
    2.4 KB · Views: 1,391
Last edited:

[B4X] Show image in IDE link - B4J created Program Starter

Good morning to all of you,

some times I find it easier to make notes on a paper with a pen. I am a visual person and I understand something better this way. At several times I move my notes to...
 

Attachments

  • ProgramStarter.zip
    969 bytes · Views: 103
Last edited:

[B4X] Sharing modules and classes

In newer versions of B4A, B4J and B4i it is simple to share code modules between projects, including projects targeting other platforms.

More information here...
 
Last edited:

[B4X] Sharing layouts between platforms

[B4X] Sending emails with Gmail REST API

This solution is compatible with B4A, B4J and B4i.

Up until now there were two ways to send emails:

1. Using the default mobile app which required the user to actually send the message...
 

Attachments

  • Gmail.zip
    59.7 KB · Views: 3,248
Top