B4J Tutorials

How create a Chat using B4J and Server Composer [ Socket ]

hello everyone !

It is with great honor that I present to you my tool for creating websocket & socket servers, it was developed using C ++ [libwebsocket, enet, winsock, lua_wrapper, scintilla and...
 

Beginning Firebase Database in JavaScript: CRUD-ing around

Hi there...

Anyway, this should not be long. Many moons I was requested to work on a firebase wrap for ABM. Im not there yet, but this should be a start. I'm still getting a hang of it and more...
 

Attachments

  • firebase.txt
    9.1 KB · Views: 501
Last edited:

[jRDC2] Raspberry Pi MySQL accessed by B4J UI application using jRDC2

Hi,

wanted to learn more about jRDC2. Let me share testing jRDC2 accessing a MySQL database, running on a Raspberry Pi (RPi), via a B4J UI application.

Raspberry Pi MySQL Setup
  • ...
 

Attachments

  • B4JHowToMySQLRDC.zip
    51.7 KB · Views: 762

[abmaterial] How to remove the appname to access the web address?

hello,

abmaterial provides this: ipaddress:port/appname/

Is there a way to have this: ipaddress/

If you run your abmaterial application and you enter the ip address of the server, you need to...
 

Create Windows native executables (exe files)

Last edited:

[B4X] [BitmapCreator] Creating a cross platform Tetris game

Edit: XUI2D version of Tetris: https://www.b4x.com/android/forum/threads/xui2d-tetris.107698/

tetris.gif


SS-2018-06-17_16.17.39.png
...
 

Attachments

  • B4A_Tetris.zip
    184.6 KB · Views: 1,186
  • B4i_Tetris.zip
    285.5 KB · Views: 899
  • B4J_Tetris.zip
    177.1 KB · Views: 1,092
Last edited:

[ABMaterial] Using Cloudinary as CDN for your assets (v4.35)

Using a CDN (Content Delivery Network) for your WebApp can be very beneficial:

The Benefits of using a CDN:
  • Different domains. Browsers limit the number of concurrent...
 
Last edited:

[ABMaterial] For Dummies (beginner lessons)

ABMaterial For Dummies

This has often been asked for - so it is high time to produce a simple set of guidelines to help get you across the short...
 

Attachments

  • about.jpg
    399.4 KB · Views: 1,539
Last edited:

Network + AsyncStreams + B4XSerializator

Attachments

  • NetworkExample.zip
    3.4 KB · Views: 1,229

UI apps packaging - self contained installers

Attachments

  • B4J Packager.zip
    4.7 KB · Views: 2,538
Last edited:

My B4J Packager - an extended version

This "My B4J Packager" started as the B4Jpackager provided by Erel. I have added the text entry fields for the extra things like, Menu Group, JavaVM Options (to set memory requirements)...
 

Attachments

  • MyB4JPackager v2-01.zip
    8.5 KB · Views: 432
Last edited:

[ABMaterial] Custom Component CustomChartJS

Objectives
Create an ABM custom component to display line and bar charts.

The custom component build, CustomChartJS, is a minimal solution based upon the Chart.js project...
 

Attachments

  • B4JHowToABMCustomChartJS.zip
    85.9 KB · Views: 518
Last edited:

[ABMaterial]: Sharing the goodness

Article 1: Generic Excel Importer Class for your ABMUpload component

For my ABMaterial App, I needed a Ms Excel worksheet importer, so I decided to build one.

For this, you will need the...
 

Attachments

  • clsExcelmporter.bas
    12.3 KB · Views: 628

Another Blockchain example

Attachments

  • BlockChainTest.zip
    7.8 KB · Views: 503
Last edited:

SQLite Triggers: Creating Audit Trails For Dummies

Ola

What is an audit trail? As per Wikipedia...

An audit trail (also called audit log) is a security-relevant chronological record, set of records, and/or destination and...
 

Attachments

  • DBTriggers.bas
    9 KB · Views: 538
Last edited:

Hint about ("remote") DB queries

After (unfortunately) having write many functions (in a code module in my b4j server project) which access a MySql, I remembered a fundamental rule: use Try-Catch when accessing external...
 
Last edited:

[ABMaterial] Using MS Excel as your reporting Engine for Database Records

Hi there...

This is a continuation of my previous posts about dynamic charts and dynamic sidebaritems. My next challenge was to use the already existing MS Excel templates for reporting, inside...
 
Last edited:

[IoT] MQTT Protocol

What is MQTT?

"MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed so as to be easy to implement. These characteristics...
 

Attachments

  • MQTTExample.zip
    2.7 KB · Views: 5,624
Last edited:

Easier SQL Inserts

A standard SQL insert in B4J may look something like this:

B4X:
 Dim InsertCustomerSQL As StringBuilder
   Dim InsertValues As List
   Dim InsertID As Long
   Dim RS As ResultSet...
 

Attachments

  • EZSQLInsert.zip
    66.1 KB · Views: 479

[IoT][RPi] - Raspberry Pi Bluetooth Tutorial

Using the new jBluetooth library it is possible to communicate with Raspberry Pi devices over Bluetooth.

Bluetooth can be very useful in places where there is no local network.

The...
 

Attachments

  • bluecove_rpi_jars.zip
    449.8 KB · Views: 1,523
  • RPi_Bluetooth_B4J.zip
    1.4 KB · Views: 1,364
  • RPi_Bluetooth_B4A.zip
    9.7 KB · Views: 1,194
Top