B4J Tutorials

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

Attachments

  • AthomTasmota.zip
    4.6 KB · Views: 72

Web Tools Collection - Enjoy

Hi

I'm putting this as a tutorial as we might loose it.

 

B4xTable: Property Bag Use Case

Hi

I am attempting to use a B4xTable as a property bag. I found B4xTable Inline Editing fit for this as i can set and get any component. You can use that as reference.

The magic is keeping which...
 

[Web] Trying Microsoft Azure MySQL Flexible Server

Ola

Curious, so Im testing if I can deploy an app that will use Microsoft Azure MySQL.

Things to remember:...

1. Download Cert Perm file. This is on the Networking Tab (available after you...
 
Last edited:

[Web] Tutorial - Using MinimaList Controller

Last edited:

[Web] SithasoDaisy - Deferring CSS & JS Files so that they are loaded ONLY when needed.

Ola

Demo on Vercel

One of the nice things about BANano is the built in functionality around LoadJS. I noted this on the console log when I was updating some stuff on the SithasoDaisy...
 
Last edited:

[Web] SithasoIONIC7 Mobile WebApp Development Q & A

Hi there

You have a question about SithasoIONIC7, please hit us up here.

If you have a question on an existing project you are working on, please include a simple small project so that I...
 
Last edited:

Bouncing a single ray inside an equilateral triangle (100 simultaneous rays in Post #2)

A bit more tricky than what I thought but then my math is a bit rusted. First challenge is to figure out if the moving point has breached the perimeter of the triangle (from inside to outside) and...
 

Attachments

  • b4jTriangleBounce.zip
    3.2 KB · Views: 65
Last edited:

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

[Web][SithasoDaisy] Exploring Web Service Workers aka BANano Background Workers

[Web3] Deploy your Static Website on the Internet Computer and make it a dApp

Hi

So I wanted to make SithasoDaisy Static Demo App a dApp, so that it runs on the Internet Computer.


1. Create an account on fleek, https://fleek.co,
2. Link your Github profile...
 
Last edited:

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

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

Bouncing Balls

Enjoy!

1704632276886.png


Comment/uncomment the code in class Ball(move) and see gravity, friction, damping changing the behavior of the balls.

Comment/Uncomment:
Public Sub move
  
'    Dim damp As Double = 0.99...
 

Attachments

  • b4jBouncingBalls.zip
    2.7 KB · Views: 76

[Web] [Talk] IndexedDB that syncs to a REST API.

[B4XTurtle]L-Systems and The Money Tree

Attachments

  • LSystem.zip
    4.4 KB · Views: 60

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

[Web] SithasoIONIC7 Mobile WebApp Examples for your Inspiration

Hi there

A collection of websites created with SithasoIONIC7.


In this thread we will feature all the apps done so far with SithasoIONIC that you can get.

Kind Regards

Mashy
 

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: 65
Last edited:

Anyone for a game of ChineseCheckers?

It is from here (a kickstart via B4J). Copy the attached Jar to your B4J additional library folder.
Run the attached B4J project.
You will be playing RED and AI will play BLUE...
 

Attachments

  • jChineseCheckersAI.jar
    15.8 KB · Views: 92
  • b4jChineseCheckersAI.zip
    1.6 KB · Views: 85
Top