B4J Tutorials

SithasoDaisy2: Let's create a Libs.json Generator for Aeric's Additional Libraries Downloader

Hi Fam

Use Tool hosted on PocketHost

Aeric has created an amazing tool to download Additional Libraries. This however needs a libs.json file for it to work. A sample of that file has...
 
Last edited:

[B4X] B4XTable sample working with SQLite

[B4X] B4XTable Sample 1​

A sample project to demonstrate loading SQLite data into B4XTable
Android Devices data (JSON) downloaded from Internet
GitHub...
 

Attachments

  • example1.zip
    21.3 KB · Views: 138
  • example2.zip
    21.4 KB · Views: 157
Last edited:

AES Encryption Example - Encrypt Plain Text and or files

With this example, you can encrypt and decrypt plain text and files. The following options are available:
  • Text encoding options: Hex or Base64
  • Selectable key sizes: AES-128, AES-192, or...
 

Attachments

  • Screenshot 2025-08-17 113448.png
    Screenshot 2025-08-17 113448.png
    121.6 KB · Views: 212
  • TestEncryption.zip
    10.3 KB · Views: 170

PocketBase - Going behind the scenes with the "--dev" arguement

Hi Fam

In pocketbase there is an arguement that you can pass to your command to start PocketBase that goes behind the scenes and displays each and every command that pocketbase executes...
 

Medusa Clocks with JavaObject

Not meant to take anything away from @teddybear post here but thought I would give the clock a shot by using JavaObject. The attached B4J project creates the 16 different clock...
 

Attachments

  • medusaClockJOClass.zip
    5.4 KB · Views: 127
Last edited:

JavaFX17+ InlineUris

JavaFX17 added the possibility to use inlineURIs. One use for this is to add small CSS Stylesheets from code:

B4X:
Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1...
 
Last edited:

Google OR-TOOLS (Cryptarithmetic Puzzles)

This is a B4J example (using inline Java Code) of using Google OR-TOOLS to solve Cryptarithmetic Puzzles. It is only set up for "CP + IS + FUN = TRUE"

It generates 72 possible solutions...
 

Attachments

  • orToolsCryptarithmetic.zip
    3.4 KB · Views: 106

WebGL library, working with fog.

Hi all,

today I will show how the WebGL library can use the fog in your scene and can be fine tuned by code or by GUI.
This will simulate a real realistic fog. Allowed fog and exponential fog...
 
Last edited:

[Web] Dynamic Database Connectivity with Automatic CRUD REST API - API.PHP

Hi Fam

Original Project

I've been looking at ways to get the api.php file for CRUD REST to work in a dynamic fashion so that I can get it connect to any back-end database.

I found a way...
 

Attachments

  • api.zip
    70.2 KB · Views: 135

[B4X] Code snippets

B4J v10.00 includes support for "code snippets". This feature will be added to the other tools in the next updates.
A code snippet is a piece of code that can be added to your code in very few...
 
Last edited:

Beginning Bootstrap 4 with OneEvery

Hi

B4J App
User Manual


What is OneEvery?

This is a work in progress app that one can use to learn the different web frameworks available. Currently this...
 
Last edited:

PocketBase: Why you should ABSOLUTELY AVOID using getFullList when Querying large tables

Hi Fam

There are a variety of ways to get data from Pocketbase, one of them being getFullList. Remember, you can specify the fields you want to show in your end result and even filter your...
 
Last edited:

PocketBase: Speeding up your App with Views / Own SQL Commands even at Run-Time.

Hi Fam

The nice thing about views in PocketBase is that they allow one to feed their own sql statements and create views which are read only representation of your underlying sqlite data. They...
 

Using Google OR-Tools in B4J

Go here:

 

Create a minimum Hello World Server using B4J


This is a basic introduction video to demonstrate how we could write a hello world server project from scratch.

Hope this can help someone to understand on how to write the...
 
Last edited:

Pakai framework v5

Last edited:

Pakai framework v4

Last edited:

[Web] EndsMeet Server (Getting Started)

You can download the project template from:

Steps:
  1. Just drop the template into B4J additional...
 

37 extremely simple Turtle pattern examples

Hello all,
In the past I wanted to learn the basics about Turtle which is also great learning aid for getting kids into programming, they learn Turtle in secondary schools here in the UK (my...
 

Attachments

  • Turtle collection.zip
    6.5 KB · Views: 135

[ClassFromLayout] Why provide a Map interface for data in ClassFromLayout?

Relates to Project: ClassFromLayout

1751709999614.png

It may seem a little over the top to provide a map interface to set and get data from a class using a map, but there are several good...
 
Last edited:
Top