Tutorials & Examples

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

[B4XPages] Bluetooth Chat Example

1592143666965.png


Updated implementation, based on B4XPages of https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/#content.

The code is much simpler...
 

Attachments

  • BluetoothChat.zip
    18 KB · Views: 1,160
Last edited:

Tutorial of connecting Android to MS SQL Server using jRDC2

Hi

Here is a tutorial that shows the steps of how to make an Android connection to MS SQL Server using jRDC2.

Download tutorial here:
Attached the Mobile...
 

Attachments

  • Example B4A.zip
    10.4 KB · Views: 1,560
  • jRDC SQL Server.zip
    5.2 KB · Views: 1,431
  • Script TestSQLServer.txt
    857 bytes · Views: 1,311

[B4X] AS_TabMenuAdvanced Custom Middle Button

In this example we add a MiddleButton that is larger than the internal one and is outside the TabMenu.
(18) mage.png
...
 

Attachments

  • AS TabMenuAdvanced Example.zip
    281.1 KB · Views: 350

B4A-Bridge over wifi without a local network

Starting from B4A v5.0, B4A-Bridge over Bluetooth is no longer available. You can use B4A-Bridge over wifi or USB debug mode to connect the IDE to a device.

By creating a mobile hotspot you can...
 

Please test reading your NFC credit card.....

Please test scanning of your NFC enabled credit card using the APK in the download link below. Please ensure that you have enabled NFC on your cell/device before you do a scan - the...
 
Last edited:

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...
 

Attachments

  • Screenshot_20210713-125404.png
    Screenshot_20210713-125404.png
    173.5 KB · Views: 458
  • Screenshot_20210713-125410.png
    Screenshot_20210713-125410.png
    17.5 KB · Views: 399
  • pdfHelpExample.zip
    263.6 KB · Views: 301

[B4X] MQTT Chat Room

Attachments

  • Chat_B4i.zip
    6.1 KB · Views: 1,969
  • Chat_B4J.zip
    3.8 KB · Views: 3,153
  • Chat_B4A.zip
    11.3 KB · Views: 2,206
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...
 

Attachments

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

B4X Object Browser - new thread

Hi. Please place any new questions or comments about the B4X Browser here.
 

Backup/Restore SQLite Database

Hello
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'...
 

Attachments

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

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:

[B4XPages] Admob Example

Check this other excellent example from @Jack Cole.

To help the new members to make money with B4A, I tried to compile all the relevant Admob code (except mediation) of the...
 

Attachments

  • b4xpages_admob_example4.zip
    40.5 KB · Views: 102
Last edited:

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

android 12
 

Attachments

  • SMSWifi12.zip
    114.4 KB · Views: 95
  • wifiSMS.zip
    118 KB · Views: 90

[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: 798
Last edited:

ScrollView examples summary

Last edited:

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

Attachments

  • [B4A] Socket.io Simple Call Example.zip
    116.8 KB · Views: 815
  • [B4i] Socket.io Simple Call Example.zip
    111.7 KB · Views: 599
  • [Server] Socket.io Simple Call Example.zip
    2.4 KB · Views: 785
Last edited:

💡 Tic-Tac-Toe. Simple XUI cross platform WiFi game example B4A vs B4i vs B4J - Newer developers

Requires B4A V9.90 or higher.

Hello fellow B4X developers.
Here is my example of using a broadcast address to automatically find another devices IP address on a network, then to use that IP...
 
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:
Top