B4J Tutorials

SithasoDaisy TailwindCSS UI Toolkit: Q & A

Hi there

Do you have any questions about SithasoDaisy UI Toolkit?

You can shoot it here and we will oblige.

Thanks in advance?
 

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:

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

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:

[BANano] [VuetifyAD3] Small solutions to development hitches (Tricks and tracks)

At the request of several friends, I opened this Thread which explains some problems encountered when developing with Banano and VuetiiFy.

Obviously I will propose the solutions that I have...
 
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: 13
  • Okapi.zip
    2.5 KB · Views: 14
Last edited:

Consuming http streams

Standard http communication is made of a request being sent from the client to the server and the server response sent back to the client.
As I'm sure you know you should use OkHttpUtils2 for such...
 

Attachments

  • MjpegWithOkHttp.zip
    4.5 KB · Views: 566
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...
 

Running Jar with double click (in Java OpenJDK 11+ )

As shared in multiple places in this forum Java 11 OpenJDK does not allow to run jar files directly. (here)

Here is an easy workaround...

1. Run cmd with administrator privilege.
2...
 
Last edited:

MacSigner - Building notarized Mac packages

Screen Shot 2021-05-19 at 11.55.28.png


It is mostly impossible to run non-notarized and unsigned apps on new versions of Mac.
MacSigner tool will help you with the various steps required to convert the app jar to a...
 
Last edited:

Simple Layout Designer (SLD) B4J application.

Simple Layout Designer (SLD) B4J application.

Check out message #31 for the latest update!

In this tutorial you can learn how to create a layout using the Simple...
 

Attachments

  • sld00.png
    sld00.png
    26.5 KB · Views: 931
  • simple_layout_designer.zip
    270.5 KB · Views: 120
  • sld_load_example.zip
    115.4 KB · Views: 107
Last edited:

[BANano] Using PocketBase (Firebase Alternative) for your Apps.

Hi there.

I got to test the "Open Source backend for your next SaaS and Mobile app in 1 file" tech stack today. I must say its a very interesting project.

SithasoCRUD.jpg


I downloaded a single...
 

Create a crypto trading bot using ccxt

_Bot_Template.jpg



Hello all,

I made a template to save time when creating a crypto trading bot with B4j. I'm posting this "as-is" for now, since I'm currently working on Tradingview's pine...
 

Attachments

  • _Bot_Template.zip
    242.9 KB · Views: 42

The easy way to install your B4J application on Linux

This is meant to be a tutorial for you to easily distribute your applications developed in linux.
Through B4JPackager11 and B4JPackager v1.50 the excellent tool developed by Erel gives us the...
 

[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: 38
Last edited:

[B4x] Exchange Data via OkHttpUtils and php (or other platforms) via lists, maps, arrays, etc.

I made 7 examples how to exchange data between B4x apps and php. I use the POSTSTRING method as it is simple, secure (get-methods will be logged with the data autmatically on the server...
 

Attachments

  • PHPExamples.zip
    6.1 KB · Views: 373
Last edited:

[BANano] Calling JavaScript methods with parameters explained

Suppose we use the plotly library (https://plotly.com) as an example to add a chart.

When we look at their example on how to use it:
B4X:
Plotly.newPlot( "chart", [{
    x: [1, 2, 3, 4, 5]...
 
Last edited:

[B4X, B4xPages]Using the Standard B4XPreferenceDialog Library with B4XPages to Create Effective Forms

If you are in a hurry, or if you don't want to design your own form, you can use the standard PreferencDialog
in combination with FormsBuilder to create a pretty nice form, one form per B4XPage...
 

Attachments

  • PrefFormsV3.zip
    29.3 KB · Views: 39
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: 87
Last edited:

"Embedding" JSpice in B4J

Attachments

  • JSpice2.zip
    9.6 KB · Views: 56
Last edited:
Top