Tutorials & Examples

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

Connect B4A to Bluestacks 5

Step 1. Copy the adb file path

- Locate the adb file in the SDK folder.
- Copy the adb file path

Path example: C:\B4A\sdk\platform-tools

Step 2. Connect the B4A adb with the emulator IP

- Open...
 

B4A Rapid book updated to B4A 12.50

I am happy to announce that both the paperback, PDF and EPUB versions of the B4A tutorial and reference book “B4A Rapid Android App Development using BASIC” by Wyken Seagrave have now been updated...
 

[B4X] [B4XPages] Intent based camera

Attachments

  • CameraIntent.zip
    125.1 KB · Views: 844
Last edited:

Full private chat and multi-chat (similar to Whatsapp)

NovaChat is a private chat class module (Multi-User in next version) that has almost all the functionality of instant messaging.

Capture.PNG
Capture 1.PNG
Capture 3.PNG

NovaChat uses the phone as a...
 

Print Made Easy

After understanding this approach, printing will be painless for you forever.

Requirements:
- Any pdf file generation tool, I used HtmlToPdf lib.
- Any base64 converting tool, I used...
 
Last edited:

android.jar / targetSdkVersion / minSdkVersion

There are several versioned components that affect the compilation process and the runtime behavior of our apps.
The purpose of this tutorial is to explain the differences between them and help...
 
Last edited:

B4X Object Browser - new thread

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

Full Chat (NovaChat)

Download the Library for free here : Download
 

✅ Part 2 Examples - Creating long lists using xCustomListView with Lazy Loading - Newer developers

Hello All,
If you're not experienced with using xCustomListView (xCLV) with Lazy Loading (LL) when it comes to loading long lists of data, then I strongly suggest that you read the following post...
 
Last edited:

Running B4A Apps in Split Screen Mode

Tutorial – Running B4A Apps in Split Screen Mode

I’m learning this as I go along so there may be errors of fact. If so then post a correction below and I will modify this tutorial...
 

Attachments

  • SplitScreenTest_1.0.zip
    11.7 KB · Views: 762
Last edited:

[B4X] BBCodeView Anchors Example

1684912822081.png
1684912838657.png


A small, cross platform, example of using the new anchors feature of BBCodeView.

It reads a CSV file with information about US politicians. The data is used to...
 

Attachments

  • Anchors2.zip
    449.9 KB · Views: 506
Last edited:

Protect your application against copy and changes

This method uses the F5Steg and PackageUtils libraries from ProBundle.

There's a demo available in the Play Store...
 

Attachments

  • Challenge.zip
    71.3 KB · Views: 1,111

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: 2,380
  • jRDC SQL Server.zip
    5.2 KB · Views: 2,215
  • Script TestSQLServer.txt
    857 bytes · Views: 2,076

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

[B4X] MQTT Chat Room

Attachments

  • Chat_B4i.zip
    6.1 KB · Views: 2,460
  • Chat_B4J.zip
    3.8 KB · Views: 3,854
  • Chat_B4A.zip
    11.3 KB · Views: 3,153
Last edited:

ScrollView examples summary

Last edited:

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:

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

Attachments

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

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