B4J Tutorials

Enhancing Image Contrast by means of Histogram Equalization

Attachments

  • b4jHistEqual.zip
    339.8 KB · Views: 282

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

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

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

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

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: 279
  • b4jDoublePendulum.zip
    1.7 KB · Views: 295
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: 345
  • Okapi.zip
    2.5 KB · Views: 323
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:

[Server] Using Let's Encrypt on Ubuntu VPS

So I have created a few JRDC2 apps. I put them on a VPS as live demo. It is running on Ubuntu 18.04 64 bit. Today I wanted to make the app more secure by...
 

SolarSystem

It is a B4J "kick-start" project for the JAR of this Github project. How to use it:
1. Copy the attached B4J project - the B4J code is very simple:
B4J code:
#Region Project Attributes...
 

Attachments

  • SolarSystemRunnable.jar
    8.7 KB · Views: 327
  • b4jSolarSystem.zip
    1.6 KB · Views: 292

Maximize, minimize, restore and full screen (programmatically)

Based on this post and in other internet searches:

(Attached sample project)

B4X:
#Region Project Attributes
    #MainFormWidth: 600
    #MainFormHeight: 600
#End Region

Sub Process_Globals...
 

Attachments

  • MaximizeFullscreen.zip
    2.3 KB · Views: 710
Top