B4J Tutorials

B4JPackager11 - I thought the space didn't matter

This is not really a tip or a tutorial, more of a warning for others.

I made a small B4J program and wanted to distribute the program on a Windows 10 PC. As I was using jSerial, I followed the...
 

[B4X]Turning Miscellaneous Image Shapes into Buttons

This is just a bit of fun, inspired by a recent question about the shape of buttons.
Given an image, how hard is it to make a specific area in the picture sensitive to clicks.

It turns out...
 
Last edited:

[BANano] Creating BANano Custom Views with the BANano Custom View Creator WebApp

Ola

Download

Why the BANano Custom View Creator?

The beauty of BANano is that it enables one to use any front-end framework they want. This means that you can pick any...
 

Attachments

  • BANanoVuetifyAD2.jpg
    232.9 KB · Views: 927
Last edited:

[BANanoVuetifyAD3] Creating Multi-Language WebApps

Hi there...

With this piece of code...

B4X:
vuetify.AddTranslation("en", "de", "hello", "Hello {name}!", "Guten Tag, {name}!")
    vuetify.AddTranslation("en", "de", "welcome", "Welcome!"...
 

Attachments

  • bvad3translate.zip
    16.2 KB · Views: 550

ABMaterial - ABMCustomComponent - Quill Rich Text Editor

In ABMaterial version 4.95, @alwaysbusy introduced me to a new method of handling Rich Text Editing - in the form of an ABMCustomComponent called...
 
Last edited:

[BANanoVuetifyAD3] Encrypting & Decrypting Traffic between JavaScript (Encrypt) & PHP (Decrypt)

Ola

DISCLAIMER: ALWAYS RUN YOUR PHP WEBSERVER ON TOP ON SSL

Download Source code to REPRODUCE (Extracted from the BVAD3 Library)

Whilst you might be secure when running PHP apps on...
 
Last edited:

Backup (dump) Sqlite tables via jShell + *.bat file

If you use SQlite in your apps in you need to do backups. A bad decision is just to copy the database file:

- there will be more than one file when the database is online (e.g. *.wal and other...
 

✅ JDBCSQL Connector/J - Connect directly to MySQL, MSSQL, PostgreSQL, MariaDB and Oracle databases

Hello fellow B4X'ers,
Here is some example code for connecting your B4J projects to 5 different types of database engines, this tutorial is for learning purposes only and nothing else...
 

Attachments

  • Database4ConnectionTypes.zip
    1.6 KB · Views: 2,737
  • Database5ConnectionTypes.zip
    1.6 KB · Views: 3,131
Last edited:

[B4X] Text Along Any Curve

The example here uses a Bezier curve which is one of a lot of possible curves.
But the text drawing routine works on any list of points.
The attached .zip has all the code (140 lines)...
 

Attachments

  • CurvedText.zip
    51.9 KB · Views: 678

[B4X]Cloning Class Instances, Semi-Automatic Self-Replication, and a Trick

Disclaimer:
None of the techniques used here are new to our community and you may have seen the 'Trick' used by me before.

The Problem:
We are using classes more frequently, especially with...
 

Attachments

  • cloning.zip
    12 KB · Views: 595
Last edited:

[BANanoVuetifyAD3] Tree-Shaking your BVAD3 project with the BVAD3 Package Manager

Last edited:

Read and graph Thingspeak data

In this thread, I explained how to build a weather station with a Wemos mini and an UDP Receiver to show the data. This is great for the present value but to be able to see a trend we need...
 

Attachments

  • Thingspeak.zip
    49.7 KB · Views: 658
Last edited:

[BANano] Support for B4Xs 'Wait For'

The next release of BANano (v7.15+) will support B4Xs cool 'Wait For' feature! BANano already has such a system with BANanoPromise, but it is a lot 'JavaScript' like and not 'B4X' like.

As I...
 
Last edited:

Creating a Vuetify PWA without writing JavaScript, CSS or HTML using BANanoVuetifyAD3

Ola

Download



Related Content

Follow the Github on how to set up your IDE.
 

[BANano] Sending Contact Us Form contents to an email with inline PHP

Ola

For this exercise, you need the skeleton & sweet alert banano libraries. You will need to compile them (run + compile as library) using the latest version of BANano.

Why a PHP based Contact...
 

Using CustomBuildAction with WinRAR

We can use #CustomBuildAction to archive some files and folders into a ZIP or RAR file (if you have WinRAR installed).

B4X:
#If RELEASE
#CustomBuildAction: 2, C:\Program...
 
Last edited:

H2 Database

Last edited:

[BANanoVuetifyAD3] Important Information about Navigation Guards

Hi there

These are primarily used to guard navigations either by redirecting it or cancelling it.

Global Navigation Guards

You have beforeEach (page) and afterEach...
 

[BANanoVuetifyAD3] Improving Perceived Performance on 7.29+

Hi there

I'm not going to kid you. Before BVAD3 shows the first page, it takes a lot of time to build and show the app e.g. calling all those .Initialize subs in each of the route pages, loading...
 
Last edited:

[BANanoVuetifyAD3] Create, Read, Update & Delete records from a JSON File

Hi there

In the Mashy Teaches Series we started creating forms, as a rewind to remind us how this awesome functionality works.

In part 7 of this Creating Vuetify Forms with...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…