Tutorials & Examples

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

[B4X] AS Scheduler - DayView

Last edited:

[B4X] AS CardSlider - Text animation


AS CardSlider Text animation.gif


Code
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1...
 

Attachments

  • AS CardSlider Text Animation Example.zip
    11.5 KB · Views: 148
Last edited:

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

Attachments

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

MQTT Brokers list

[B4X] Supabase - Database OrderBy


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

Available sorting commands...
 

Share SQLite database between 2 devices

This is just a proof of concept to show that Device A behave like a server hosting a database and Device B connects to it accessing the "shared" database. It is a response to this question...
 

Attachments

  • ShareDB.zip
    17.6 KB · Views: 89
Last edited:

[B4X] AS TextFieldAdvanced - ComboBox

Attachments

  • AS TextFieldAdvanced ComboBox Example.zip
    179.5 KB · Views: 68

[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] Supabase - Realtime Postgres Changes


Listen to Postgres changes using Supabase Realtime...
 

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

[B4X] AS DraggableBottomCard - Drag Indicator - Confirm Button


(43) mage.png


DragIndicator:
    'DragIndicator
    Dim xpnl_DragIndicator As B4XView = xui.CreatePanel("")...
 

Attachments

  • AS DraggableBottomCard ConfirmButton.zip
    11 KB · Views: 111
Last edited:

Debugging with Firebase / Android GPU Inspector

Hello,

(this is not a full tutorial, just a overview of this 2 tools)

I wrote my first animation in a app and with no idea what im doing i was running poorly...

While debugging i struggled with...
 

RegEx.Matcher2 and getting first and last words of String

This example not only retrieves the first and last word of a String, but also sets a Label with the first letters of both the first and last words.
I use it to populate a CustomListView with...
 
Last edited:

[B4X] AS Settings with AS TimePickerDialog

Attachments

  • AS Settings with AS TimePickerDialog.zip
    179.3 KB · Views: 36
Last edited:

B4XPages Video Tutorial Series

Hello, I intend to share my knowledge using B4XPages through this beginner tutorial. Please subscribe and share.

Part 1 - Getting Started with New Project

Part 2 - Adding...
 
Last edited:

[B4X] AS ViewPager - Infinite scrolling


A small example project on how to achieve endless scrolling in both directions with the as...
 

Attachments

  • AS ViewPager Infinite scrolling Example.zip
    11.5 KB · Views: 125
Last edited:

LatLong To Timezone

Hi,
I was looking for a code to know the timezone information from Latitude and Longitude coordinates and I found the code here LatLongToTimezone but it is written in java so I used it in...
 

Attachments

  • B4A_TimezoneMapper.zip
    434.5 KB · Views: 207

[B4X] AS TextFieldAdvanced - Underline Style

Attachments

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

[B4X] Supabase - Database Limit and Offset


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

[B4X] Program from everywhere even while being on the road - It can be done already

I was thinking how can I realize what is mentioned bellow for helping a friend with no computer for now, without waiting for it to happen (if ever - no offense @Erel but I know you are busy)...
 
Last edited:
Top