B4J Tutorials

PocketBase - Going behind the scenes with the "--dev" arguement

Hi Fam

In pocketbase there is an arguement that you can pass to your command to start PocketBase that goes behind the scenes and displays each and every command that pocketbase executes...
 

Medusa Clocks with JavaObject

Not meant to take anything away from @teddybear post here but thought I would give the clock a shot by using JavaObject. The attached B4J project creates the 16 different clock...
 

Attachments

  • medusaClockJOClass.zip
    5.4 KB · Views: 56
Last edited:

JavaFX17+ InlineUris

JavaFX17 added the possibility to use inlineURIs. One use for this is to add small CSS Stylesheets from code:

B4X:
Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1...
 
Last edited:

Google OR-TOOLS (Cryptarithmetic Puzzles)

This is a B4J example (using inline Java Code) of using Google OR-TOOLS to solve Cryptarithmetic Puzzles. It is only set up for "CP + IS + FUN = TRUE"

It generates 72 possible solutions...
 

Attachments

  • orToolsCryptarithmetic.zip
    3.4 KB · Views: 38

WebGL library, working with fog.

Hi all,

today I will show how the WebGL library can use the fog in your scene and can be fine tuned by code or by GUI.
This will simulate a real realistic fog. Allowed fog and exponential fog...
 
Last edited:

[Web] Dynamic Database Connectivity with Automatic CRUD REST API - API.PHP

Hi Fam

Original Project

I've been looking at ways to get the api.php file for CRUD REST to work in a dynamic fashion so that I can get it connect to any back-end database.

I found a way...
 

Attachments

  • api.zip
    70.2 KB · Views: 48

[B4J+B4A] CCTV example (updated)

This is based on the original example

GitHub:
https://github.com/pyhoon/CCTV-example-B4J...
 

Attachments

  • CCTV-B4J.zip
    3 KB · Views: 56
  • CCTV-B4A.zip
    13.5 KB · Views: 58

[B4X] Code snippets

B4J v10.00 includes support for "code snippets". This feature will be added to the other tools in the next updates.
A code snippet is a piece of code that can be added to your code in very few...
 
Last edited:

Beginning Bootstrap 4 with OneEvery

Hi

B4J App
User Manual


What is OneEvery?

This is a work in progress app that one can use to learn the different web frameworks available. Currently this...
 
Last edited:

PocketBase: Why you should ABSOLUTELY AVOID using getFullList when Querying large tables

Hi Fam

There are a variety of ways to get data from Pocketbase, one of them being getFullList. Remember, you can specify the fields you want to show in your end result and even filter your...
 
Last edited:

PocketBase: Speeding up your App with Views / Own SQL Commands even at Run-Time.

Hi Fam

The nice thing about views in PocketBase is that they allow one to feed their own sql statements and create views which are read only representation of your underlying sqlite data. They...
 

Using Google OR-Tools in B4J

Go here:

 

Create a minimum Hello World Server using B4J


This is a basic introduction video to demonstrate how we could write a hello world server project from scratch.

Hope this can help someone to understand on how to write the...
 
Last edited:

Pakai framework v5

Last edited:

Pakai framework v4

Last edited:

[Web] EndsMeet Server (Getting Started)

You can download the project template from:

Steps:
  1. Just drop the template into B4J additional...
 

37 extremely simple Turtle pattern examples

Hello all,
In the past I wanted to learn the basics about Turtle which is also great learning aid for getting kids into programming, they learn Turtle in secondary schools here in the UK (my...
 

Attachments

  • Turtle collection.zip
    6.5 KB · Views: 62

[ClassFromLayout] Why provide a Map interface for data in ClassFromLayout?

Relates to Project: ClassFromLayout

1751709999614.png

It may seem a little over the top to provide a map interface to set and get data from a class using a map, but there are several good...
 
Last edited:

The precious JxBrowser imported to B4J

JxBrowser is a powerful Chromium based browser.
Features:
  • it displays modern web pages built with the latest web standards
  • it calls Java code from JavaScript and vice versa.
  • it...
 

[B4X] Using/running B4A and/or B4J on 64 bit Linux Mint 20.2 Cinnamon with 64 bit Wine

*** Contents ***
Intro
Acknowledgements
Disclaimer
Environment
Conventions used in this post
Making it work
Compiling and running your programs
A semi-automated way to get your B4J UI...
 

Attachments

  • linuxify screenshot.PNG
    linuxify screenshot.PNG
    21.1 KB · Views: 998
  • linuxify screenshot.PNG
    linuxify screenshot.PNG
    21.1 KB · Views: 918
  • CopyFilesForLinuxify.zip
    3.1 KB · Views: 915
  • Linuxify.zip
    26.3 KB · Views: 893
Last edited:
Top