B4J Tutorials

Medusa Gauges (with inline Java Code)

You can draw up to 25 different Gauges with basically the same B4J code. You need to download Medusa-8.0.jar and add it to your B4J additional library folder.

B4X:
    Public Skin_DigitalSkin...
 

Attachments

  • MedusaGauge.zip
    5.9 KB · Views: 403

SithasoDaisy: How to Create Beautiful Product Tour

Hi there.



We will demo this using a table and a property bag.

We tell our SDUITable that it will have some toolbar buttons, these will be added to it.

1688490461842.png



This is...
 

Scan 1D / 2D barcodes with your Laptop's WebCam

Last edited:

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: 229
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: 97

Enhancing Image Contrast by means of Histogram Equalization

Attachments

  • b4jHistEqual.zip
    339.8 KB · Views: 117

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

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: 182
  • api.zip
    11.9 KB · Views: 193

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: 101
  • LogisticsMap.jar
    5.6 KB · Views: 107

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

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: 111
  • b4jDoublePendulum.zip
    1.7 KB · Views: 111
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: 151
  • Okapi.zip
    2.5 KB · Views: 145
Last edited:
Top