Tutorials & Examples

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

[B4X] AS SegmentedTab - Custom tab width




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

Attachments

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

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

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: 1,220
  • WebviewExtras2Example.zip
    7 KB · Views: 486
Last edited:

ExoPlayer - full screen feature






This example demonstrates how you can add a full screen button to a video. Clicking on the button, starts a new landscape activity and it then uses the native...
 

Attachments

  • Project.zip
    16.3 KB · Views: 382
Last edited:

[B4X] Public variables, custom types, ...

Last edited:

[B4X] Supabase - Database Joins


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

Convert a big Activity project to B4XPages

For years is scare me to convert a big project from Activities to B4XPages, mainly because the app is only for Android (and I don't have plans to IOS or desktop), but in several issues the answer...
 

[B4X] AS TextFieldAdvanced + AS BottomPhoneNumberFlagPicker - Simply let your users enter their phone number

Attachments

  • AS TextFieldAdvanced + AS BottomPhoneNumberFlagPicker Example.zip
    178.2 KB · Views: 250

App Icon Change at Runtime

Attachments

  • ChangeIcon.zip
    22.2 KB · Views: 332
Last edited:

[B4X] AS Scheduler - DayView

Last edited:

How to change Default Android Emulator Skins (AVD) with Device Skins

Last edited:

[B4X] Supabase - Realtime Presence


Share state between users with Realtime Presence...
 

[B4X] Supabase - Realtime Broadcast


Send and receive messages using Realtime Broadcast...
 

[B4X] Supabase - Realtime Postgres Changes


Listen to Postgres changes using Supabase Realtime...
 

Dropbox SDK V2 - Authentification

This Tutorial belongs to the Dropbox SDK V2 - Java Library

See this thread for preparing your app to use this Library.
Especially the Manifest-Entry...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…