Tutorials & Examples

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

Help Management for Application

Hello hope your'e well.
Apps are getting more and more complicate and to work with the user needs a manual. This examples shows how you can add an help dialog to your B4XPages Project. The help...


  • Screenshot_20210713-125404.png
    173.5 KB · Views: 520
  • Screenshot_20210713-125410.png
    17.5 KB · Views: 444
  • pdfHelpExample.zip
    263.6 KB · Views: 339

[B4X] MQTT Chat Room


  • Chat_B4i.zip
    6.1 KB · Views: 2,037
  • Chat_B4J.zip
    3.8 KB · Views: 3,256
  • Chat_B4A.zip
    11.3 KB · Views: 2,361
Last edited:

Camera2 - Still images and videos

Camera2 library is based on the Camera2 API introduced in Android 5 (API 21).
It is designed to work together with CamEx2 class.
It is supported by B4A v7.3+. The library will be included as...


  • CamEx2.zip
    22.4 KB · Views: 424
Last edited:

Backup/Restore SQLite Database

This is an example of how to back up and restore the SQL Lite database as the database produces three files with three extensions
with the following extensions 'db.db'...


  • backup.restore.sqlite.zip
    17.7 KB · Views: 254

my share creation simple carousell

For the First I said Thank Too Much For Great Mr.Errel That my Inspirator, StarDust and All Of member that i can't say person by person, i wish yours appologize of my bad english, this my first...
Last edited:

Send and Recive SMS from PC using AsyncStreams in Wifi e VB.Net

android 12


  • SMSWifi12.zip
    114.4 KB · Views: 152
  • wifiSMS.zip
    118 KB · Views: 146

ScrollView examples summary

Last edited:

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


  • [B4A] Socket.io Simple Call Example.zip
    116.8 KB · Views: 874
  • [B4i] Socket.io Simple Call Example.zip
    111.7 KB · Views: 650
  • [Server] Socket.io Simple Call Example.zip
    2.4 KB · Views: 842
Last edited:

Check if the application is running on a Chromebook

If you want to check if the application is running on a Chromebook (for example to do some specific GUI reconfiguration to run in a resizable Window), you can use the following routine.
Hope it...

How to convert from Firebird to Sqlite

I had to deal with a database format transformation problem from Firebird to SqliteDb
I want to share my experience because I've already seen some users who asked questions about Firebird...

User selection of a voice for Text To Speech.

I've just added a speech to text facility to my note taking app using

and text...
Last edited:

Intents and receivers

With the new imodules that allow you to work better with the intent and receivers, it is necessary to develop some examples of how to use them (even before it could be done but not in...


  • device_filter.zip
    413 bytes · Views: 145
  • IntentUSB.zip
    10.6 KB · Views: 143
Last edited:

Geofence - Monitoring a region in the background

Geofencing is an Android feature that allows your app to be notified when the user enters or exits a monitored region.

The nice thing about this feature is that your app doesn't need to run for...


  • Geofence.zip
    15.6 KB · Views: 226
Last edited:

B4A Social Network Version 1.30

Audio Ringbuffer

if you want to build instant music in apps from single sounds, it is important that the samples are absolutely synchron and perfect in timing. So you should send one single stream to the system...
Last edited:

Very simple GPS Program

Hi guys,

how to use :

1. copy the starter into your project

    If Starter.GPS1.GPSEnabled = False Then
        ToastMessageShow("Please enable the GPS device.", True)...


  • GPSbyJCD.zip
    7.9 KB · Views: 263
Last edited:

FusedLocationProvider + Resolution Dialog

** This is the only option to enable location services from inside your app. **

Example was updated and is based on B4XPages.
Don't miss:

1. ShowResolutionDialog sub that is added to Main. It...


  • Project.zip
    14.6 KB · Views: 995
Last edited:

BLE nRF Connect pre-BLE2 problem solving

It is surprising how often the basics get missed, when embroiled in heat of battle of programmer vs hardware, operating system, complex apis and libraries, etc.

I have found that whenever my BLE2...
Last edited:

[B4X] [B4XPages] GoogleMaps example


Example of showing a Google map, in a cross platform B4XPages project. The APIs of the three GoogleMaps libraries are quite different from one another, so we need to use platform...


  • Project.zip
    10 KB · Views: 1,881

New online AI Regex Generator!

Check this out!

sheetai.app which helps use ai in google sheets, just ask it and done!

Quick Demo:


Last edited: