B4J Tutorials

[BANano] How to detect if your device browser is in Dark / Light Theme Mode

Hi Fam

I want to detect if my device browser is in dark/ light mode and apply some settings on my app.

So here we go, we have 2 methods, one to fire each time the web browser mode is changed...
 

Bouncing a single ray inside a square

Sure you will figure it out. A position vector and a speed vector. When it hits a vertical wall we change the direction of the x-position vector and for a horizontal wall we change the direction...
 

Attachments

  • b4jSquareBounce.zip
    2.3 KB · Views: 282
Last edited:

CausticRaysCircle

Have converted this Processing Github Project to B4J. Very interesting to watch this being drawn in real time. Just B4J default libs required.

Have not used the default Processing PVector...
 

Attachments

  • b4jCausticRaysCircle.zip
    2.6 KB · Views: 301
Last edited:

[Web][SithasoDaisy] Bulk Email / Email Campaigns with the SithasoDaisy Mini CRM WebApp, PocketBase & GMail

Hi Fam..

With the possibility to add web hooks in PocketBase, one is able without any use of third party email sending applications use STMP configuration. We are currently using GMail and a...
 

Attachments

  • 1708173364001.png
    1708173364001.png
    7.2 KB · Views: 319

[Web][SithasoIONIC7] Mastering Server Progressive Web Apps

Hi Fam

In this thread we will look at creating BANanoServer Applications using SithasoIONIC7 Mobile Kit. BANanoServer is the equivalent of ABM but for BANano, but with the full power of...
 

[Web] ABMaterial vs BANanoServer: Are you confused about them?

Hi Fam

Perhaps an illustration can help.

untitled_page.png


Conclusion: Reaching the same goal

Let me explain..

1. Anyone who wants to develop Server WebApps, has 2 options with Alain's...
 

[Web][SithasoDaisy] Mastering Server Progressive Web Apps

Hi Fam

In this thread we will look at creating BANanoServer Applications using SithasoDaisy. BANanoServer is the equivalent of ABM but for BANano, but with the full power of using the...
 

[Web] SithasoIONIC7 Wireframes: A Step-by-Step Guide to Professional Ionic 7 Mobile Apps Designs

Good day family...

ANNOUNCEMENT: 07 Feb 2014 - We welcome the Voice Command KITT (#23)

So I tried my first voice recording today. I wanted to make a live recording, will learn...
 
Last edited:

Reflection of a single ray inside a circle

The circle - 0 degrees is measured from the positive x-axis
In the attached sample project the first point (pih_0) is at 324.2 degrees. The second point (phi_1) is at 144.7 degrees
We draw a line...
 

Attachments

  • b4jCircleBounce.zip
    3.5 KB · Views: 254
Last edited:

[B4XTurtle]L-Systems and The Money Tree

Attachments

  • LSystem.zip
    4.4 KB · Views: 293

[Web][SithasoKITT] - Voice Command for your Web Applications

Hi Fam

R.jpg


If you grew up in my days, you will recognize this car. KITT, Michael Knights pride. A car that could talk and do wonders!!! Anyway...

SithasoKITT is just a simple wrap of...
 

Attachments

  • SithasoKITT.bas
    5.1 KB · Views: 287
Last edited:

[Web] Mashy Teaches Mobile App Development using SithasoIONIC7 powered by b4x & BANano

Hi there

Open Demo on your CellPhone.

During the course of these lessons we will look at how we can create mobile apps using Ionic 7, powered by b4x and BANano.

NB: PLEASE DO...
 
Last edited:

[Web][SithasoIONIC7] Adding RTL (Right to Left) Support for your apps

Hi Fam

Let's add RTL (Right to Left) support for our app, so that is looks like this.

SithasoIONIC7RTL.png


In pgInitialize

B4X:
Sub Initialize
    'initialize the app, show ios mode...
 

Modular Multiplication on a Circle

B4J Project attached. No other libs other than the default B4J libs required (can probably be easily converted to B4A and B4I as it only draws on a standard B4J canvas)

The code is simple and the...
 

Attachments

  • b4jMathModularCircle.zip
    2.3 KB · Views: 286
Last edited:

Tusi Couple

A nice Optical illusion when running the B4J project - the small yellow balls all move just in a straight line.

B4J Project attached
Jar and XML for CanvasExt by @klaus attached - copy them...
 

Attachments

  • jCanvasExt.jar
    5.1 KB · Views: 294
  • jCanvasExt.xml
    35.5 KB · Views: 270
  • b4jTusiCouple.zip
    2.3 KB · Views: 283
Last edited:

[Web] Php-Wasm - this should be interesting...

Athom Pre-Flashed TASMOTA Infrared Remote Controller with B4X (Home Automation)

Attachments

  • AthomTasmota.zip
    4.6 KB · Views: 418

Anyone for a game of Snooker

Have compiled this Github project into a Jar so that it can be kick started from within B4J. Made some minor changes to the original code to that the /res folder could be embedded...
 

Attachments

  • b4jSnooker.zip
    2.2 KB · Views: 287
  • jSnooker.jar
    392.8 KB · Views: 299
Last edited:

Colliding Balls

Converted this Github project to B4J - it is like watching snooker. A bit of physics in it to detect collisions and then change speed/direction

B4J sample project attached
Also...
 

Attachments

  • jCanvasExt.jar
    5.1 KB · Views: 278
  • jCanvasExt.xml
    35.5 KB · Views: 313
  • b4jBallCollision.zip
    4.1 KB · Views: 280

[Web][SithasoGunDB] - SEA: Security, Encryption & Authorization using IndexedDB Back-End

Hi Fam

Demo on Vercel

Today we look at how we can perform user authentication using GunDB. GunDB uses localstorage / indexedDb / file / and other databases as back-ends through various...
 
Last edited:
Top