B4J Tutorials

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,333
  • Database5ConnectionTypes.zip
    1.6 KB · Views: 2,703
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: 418

[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: 355
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: 426
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...
 

[ABMaterial] AddArrayComponent (simple example)

Cat Skinning - there is more than one way....

I wanted to create a configuration sheet using ABMSwitch. However, the click method does not have a (Target as String) param. Same goes...
 

[BANanoVuetifyAD3] Designing WebApps/Websites/SPA/PWA with BANano+Vuetify

Hi there

This is a response to a thread post and I think it deserves its own place just to clarify something and give a background.

1. Almost everything of what you see in the kitchen sink is...
 

Using Resource Hacker to replace 'OpenJDK Platform' app name and icon

There are a few question threads about using Resource Hacker to make sure that your app name and icon appear everywhere you might want it to such as in the taskbar/Task Manager/File Properties...
 

Attachments

  • image_2021-12-11_191236.png
    image_2021-12-11_191236.png
    80.1 KB · Views: 477
Last edited:

Two great tools for testing webapps and webhooks

Researching the internet I have found two great tools that can be used for testing webapps and webhooks.

The first is called ngrok. What it does is that it creates a tunel to your web app and...
 

Webmin

Webmin is a great tool I discovered out of luck (in a YT Video) today. It is a very nice linux tool that you can use it to administer your linux machines from your browser. I installed it in my...
 

[BANanoVuetifyAD3] Deploying BANanoServer on Windows HTTPS

Ola

Remember: The jetty webserver is a self encompassing webserver. These is no need for laragon development webserver here. This is detailing a step by step process on how we have managed to...
 
Last edited:
Top