B4J Tutorials

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

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 Web API Controller

Introduction

This tutorial is based on Web API Template 2 (version 2.03) on how to use Web API Controller library.
At the time of writing, the library is version 1.01.
For...
 
Last edited:

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

[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: 119

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: 100
  • b4jDoublePendulum.zip
    1.7 KB · Views: 102
Last edited:

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

Last edited:

[web]Web API Tutorial - Getting Started

Introduction:

This tutorial is based on Web API Template 2.

How to install:

1. Download the template and copy it to B4J Additional Library folder.
1684044460362.png
...
 
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.
 

[MakeB4XLib] An application for creating a .b4xlib type library.

Hello,
Seminar on the MakeB4XLib application version 1.7,
which is a tool for creating libraries of the "B4X Library (.b4xlib)" type.

In this seminar I will...
 

Attachments

  • B4XPasswordGen v.1.01.zip
    1.2 KB · Views: 110
Last edited:

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)...
 

https://github.com/knowm/XChart

Wanted to see what is in the demo's of this Github Project. Have compiled the library and demo code into a single jar (JHSxChart.jar). Download and copy JHSxChart.jar to your B4J...
 

Attachments

  • XChart_64_64.png
    XChart_64_64.png
    2.9 KB · Views: 184
  • JHSxChart.jar
    467.1 KB · Views: 171
  • b4jXchart.zip
    3.9 KB · Views: 159

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: 137
  • b4jSolarSystem.zip
    1.6 KB · Views: 137

Anyone for Another game of Chess....(lol)

Just for the fun of it - I like to see what the UI of some Java projects looks like and how it reacts when in use. The easiest way (at least for me) is to kick start it via a simple B4J project...
 

Attachments

  • b4jMyChess.zip
    1.6 KB · Views: 134
  • ChessPieces.zip
    40.8 KB · Views: 126
  • MyChess.jar
    46 KB · Views: 119
Last edited:

Anyone for a game of Chess...

Go to post #2 - all in B4J and no external lib required

It is based on this Github posting
 
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: 135
  • Okapi.zip
    2.5 KB · Views: 129
Last edited:

[SithasoDaisy] Using EmailJS rest api to send emails

Hi there

The purpose of this tutorial is showing the functionality of sending emails using EmailJS.

This was discussed on this link...
 

B4Xsources: a B4X source code viewer using command line tools to extract and decompile the files.

In this tutorial you can learn how to extract files from a B4Xlib or Jar file.
1678873413355.png

You can select in the file menu the library type to open and extract.
1678873453507.png

For each...
 

[B4X] Faces, Assemblies, Traces, and Points. Standard Classes for creating a story.

Since retiring some time ago, I have been thinking about creating stories that involve
computer operated robots which carry out actions and speech - like actors in a drama.

It would have at least...
 

Attachments

  • Tutor_A.zip
    17.9 KB · Views: 138
Last edited:
Top