B4J Tutorials

[BANano] Sending Contact Us Form contents to an email with inline PHP

Ola

For this exercise, you need the skeleton & sweet alert banano libraries. You will need to compile them (run + compile as library) using the latest version of BANano.

Why a PHP based Contact...
 

[ABMaterial] 1.09 Localization using dynamic pages

This is the second part of the tutorial on some big changes I'm making to ABMaterial in 1.09. It should be fully backwards compatible so no (or very, very little) changes will be needed from your...
 

[BANano]: Creating a CRUD app with LocalStorage Backend

Last edited:

Working with JavaFX Scene Builder

This is an old and irrelevant tutorial.
 
Last edited:

[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,382
  • RPi_Bluetooth_B4J.zip
    1.4 KB · Views: 1,249
  • RPi_Bluetooth_B4A.zip
    9.7 KB · Views: 1,084

H2 Database

Last edited:

[WebApps] Using Laragon as your development web server

[BANano] SupaBase (FireBase Alternative) crud example with SSE

Hi

Supabase is an open source Firebase alternative. It provides all the backend services you need to build a product. Supabase uses Postgres database with real-time capabilities. Basically...
 

Attachments

  • SDUISupaBase.zip
    3.5 KB · Views: 201
Last edited:

[BANanoVuetifyAD3] Encrypting & Decrypting Traffic between JavaScript (Encrypt) & PHP (Decrypt)

Ola

DISCLAIMER: ALWAYS RUN YOUR PHP WEBSERVER ON TOP ON SSL

Download Source code to REPRODUCE (Extracted from the BVAD3 Library)

Whilst you might be secure when running PHP apps on...
 
Last edited:

[ABMaterial] Theming the Framework - ModalSheets

ModalSheets

what are they and what are they for?
From ABMaterial Demo we can read:

An ABMModalSheet component is like a mini...
 
Last edited:

[BANano] Creating BANano Custom Views with the BANano Custom View Creator WebApp

Ola

Download

Why the BANano Custom View Creator?

The beauty of BANano is that it enables one to use any front-end framework they want. This means that you can pick any...
 

Attachments

  • BANanoVuetifyAD2.jpg
    BANanoVuetifyAD2.jpg
    232.9 KB · Views: 440
Last edited:

[IoT] Traffic Light with Raspberry Pi

This is a simple example of a traffic light implementation using Raspberry Pi 2.

The red, yellow and green leds are connected to pins 27, 28 and 29 (see the numbering scheme...
 

[server] Conscrypt and Http/2

Last edited:

[BANano] MySQL CRUD with PHP - Part 1

Attachments

  • BANanoMySQL.zip
    3.7 KB · Views: 627
Last edited:

Consuming http streams

Standard http communication is made of a request being sent from the client to the server and the server response sent back to the client.
As I'm sure you know you should use OkHttpUtils2 for such...
 

Attachments

  • MjpegWithOkHttp.zip
    4.5 KB · Views: 703
Last edited:

[BANano] Using PocketBase (Firebase Alternative) for your Apps.

Hi there.

Update: This class is based on the JavaScript SDK available here, https://github.com/pocketbase/js-sdk
REST API calls are dont internal to the library, if you want to use pure...
 
Last edited:

[RPi Model 3] Sunfounder Super Kit v2.0

I have just purchased this kit and have started to go through the examples. In an effort to help others like me with little or no knowledge of how to port the examples to B4J, I thought it might...
 
Last edited:

[ABMaterial] Creating Dynamic Charts from Database Records At Runtime

Attachments

  • SyncfusionChart.bas
    10.9 KB · Views: 525
  • ej.theme.min.zip
    33.3 KB · Views: 508

Using external CSS file to style a ToggleButton

Tried
B4X:
aToggleButton.Style=":selected{-fx-background-color:black;}"
Not working for me. Any advice?
Furthermore, how can I relate the style of a node created by code with a css file?
 

Working with files

The File methods in B4J are identical to B4A File methods.

Text file methods

File.WriteString - Writes the given text to a new file.
File.ReadString - Reads a file and...
 
Last edited:
Top