B4J Tutorials

B4J Sudoku

Just for the fun of it....

Button Create = uses class dlx_generator to create a new puzzle
Button New Puzzle = use a variant of 1 of the 742 puzzles embedded in the code (randomly swapping...
 

Attachments

  • b4jSudoku.zip
    34 KB · Views: 333
Last edited:

SithasoDaisy: Creating Dialog Forms with the Abstract Designer

Good day

In the SithasoDaisy download package, you get a MySQL Crud App for a simple expense tracking app. As a showcase, there is a b4j layout named expenseCategory

1688029549865.png



This...
 

SithasoDaisy: SDUITable TimeSheet with inline-editing - guidance

Hi there

This is an example of how to create a timesheet with time & day matrix to enter hours worked etc. I have added the change_row event which detects changes to the time entered and also an...
 

Attachments

  • SDTimeSheet.zip
    59.4 KB · Views: 179

Enhancing Image Contrast by means of Histogram Equalization

Attachments

  • b4jHistEqual.zip
    339.8 KB · Views: 211

Beginning Bespoke Block-Chains with B4J.

Hi

I have been curious about this, so here is my entepretation so far...

B4X:
bitcoin.Initialize
    '
    Dim b1 As Block = bitcoin.NewBlock
    bitcoin.SetField(b1, "amount", 5)...
 

Attachments

  • BlockChain.zip
    3.1 KB · Views: 213

SithasoDocxTemplator: Creating MS Word Documents from Dynamic Templates in JavaScript

Hi the

This was an interesting find: https://docxtemplater.com/, also its just so easy to use and understand.

Below is my template. I am attempting to generate the API documentation for...
 

Attachments

  • SDUIAlert.zip
    1.2 KB · Views: 297
  • api.zip
    11.9 KB · Views: 316

Bifurcation Map (Java-Logistic-Map)

A shortcut warp to kick-start this Github project from B4J. Copy attached Jar to your additional libs folder. Run the attached B4J project

Check this YouTube Video - it is...
 

Attachments

  • b4jLogisticsMap.zip
    1.7 KB · Views: 192
  • LogisticsMap.jar
    5.6 KB · Views: 198

SithasoDaisy: PocketHost vs PocketBase (What is the difference?)

Ola

I think its time I explain what this is. Perhaps let me clear out some qualifiers. Both these words start with Pocket, one ends with Host and the other ends with Base.

Host =...
 

SithasoDaisy - Drawer Item Management - Conditional Visibility

Ola

1686400913505.png


The issue of drawer item visibility becomes interesting when you want to control which drawer items should be visible or not depending on user group permissions.
As an example...
 

[Web] Tutorial - Using MinimaList Controller and Code Snippets

Introduction​

This tutorial is based on MinimaList API Server (version 2.05) on how to use MinimaList Controller library.

For this tutorial, we will cover on using this...
 
Last edited:

How to create a StandAlone EXE without the OpenJAVA (OpenJDK)... an update for your app..

Well "@MrKim" had a wish... and talking about this... then an idea came into my mind... not a "super-duper" but a trick...
Wish...
 
Last edited:

[GCE] For Noobs, Part 6 - Installing MySQL / MariaDB

Note: some distributions of Linux are now installing MariaDB as a default. Debian 9 Stretch is an example of that. The two databases are, for the most part, identical to each other. MariaDB is...
 

[GCE] For Noobs, Part 1 - Intro

As promised, I present to you a trilogy of short tutorials allowing you to learn some of the basics of Google Compute Platform/Engine (GCP/E). The knowledge you gain from these tutorials will...
 
Last edited:

[B2X]Documention of BBCode Variant of BBCodeView Using BBCodeView Itself

The recent addition of the anchor tag in BBCodeView opens up an efficient and effective way for creating documentation that works on a desktop and devices.
This tag allows you to scroll to any...
 

Attachments

  • bbcDoc.zip
    57.6 KB · Views: 227

Double Pendulum - just for fun

It is a B4J shortcut to kickstart this project. Copy attached Jar to your B4J library folder and then run the attached B4J project (chaos theory).

Adjust the sliders....

pendulum.gif
 

Attachments

  • DoublePendulum.jar
    14.5 KB · Views: 206
  • b4jDoublePendulum.zip
    1.7 KB · Views: 207
Last edited:

Backup SQLite DB with VACUUM INTO

Less of a tutorial, more to point out another option which doesn't seem to have a mention anywhere on here yet....

I was searching for options to create a backup copy of an SQLite database. There...
 
Last edited:

OkapiBarcode (ZINT)

It is based on this Github project. Have stripped it bare and compiled the code to a new Jar (OkapiJHS.jar) so that it will only handle DataMatrix barcodes (a pm request that I have...
 

Attachments

  • OkapiJHS.jar
    40.2 KB · Views: 259
  • Okapi.zip
    2.5 KB · Views: 245
Last edited:

SithasoDaisy: PocketBase - Crud WebApp on Java Jetty WebServer with Pocketbase Back-End Hosted on PocketHost.IO

Hi there

I am playing around with BANanoServer. So far so good.

SDSv.jpg


Ceveat: PocketHost.IO is slow compared to hosting PocketBase yourself.

Watch this space.
 

SithasoDaisy: Click Events and event.PreventDefault

Hi

It is safe, that in all _click events, you add an event.PreventDefault

As an example...

B4X:
'Close input dialog
Private Sub mdlTasks_Cancel_Click (e As BANanoEvent)...
 

[ABMaterial] Several ABMaterial servers on one IP

Hello.

I was struggling to see several ABMaterial servers visible from one IP on one port. I use it because I have one VPS test server for clients and I put there test versions for them. Each...
 
Last edited:
Top