B4J Tutorials

How to change location to Msgbox2Async and other customizations

change location
You will surely have noticed that xui.Msgbox2Async places the alert in the center of the last form shown that depends on its Owner.

Sometimes there is a need to place...
 
Last edited:

[BANanoVuetifyAD3][Builder] How to Optimize your WebApp

Hi

Download

Please Note: You can run this process even before you develop your webapp so that it only uses the components you will use. In that case, just start on Step 3 below and then...
 

Attachments

  • 1659649795925.png
    1659649795925.png
    15.9 KB · Views: 186
Last edited:

Mine of AI/ML (60000+) models

Last edited:

[BANanoVuetifyAD3] : VFlexDialog inspired by the PreferenceDialog

Hi there

The VFlexDialog is inspired by the ease of use in the PreferenceDialog. It exists to enable the ease of creating forms by developers. Its baseline are the VDialog, VForms and VFields. If...
 
Last edited:

How to Install an SSL Certificate in B4J Server (Jetty)

ssl.png


This is a easy way to install SSL Certificate on a VPS with Jetty.

(1) Goto ZeroSSL to create free sll for your domain: https://zerossl.com/

(2) Download your Certificate...
 
Last edited:

Ubuntu Sudo File Explorer

Here is a nice trick for those of you that develop with B4J for Ubuntu Linux which I found searching for my needs. This code runs a File explorer with priviledges of root. All you have to do is...
 

[BANanoVuetifyAD3] Using a real device to debug your localhost running webapp

Hi there

You are developing your app and want to see it running on your device instead of your machine from localhost.

The easier method:

1. Enable hotspot on your phone.
2. Connect your PC to...
 

PyScript in your webpage using ABMaterial as an example

Hello.

Today I would like to present how to combine PyScript with B4X. I have taken ABMaterial as an example.
First, let's start what PyScript is. In the simplest way, it is the execution of non...
 

Attachments

  • home.bas
    9.5 KB · Views: 246
  • example.txt
    158 bytes · Views: 236
Last edited:

Running Jar with double click (in Java OpenJDK 11+ )

As shared in multiple places in this forum Java 11 OpenJDK does not allow to run jar files directly. (here)

Here is an easy workaround...

1. Run cmd with administrator privilege.
2...
 
Last edited:

[BANanoVuetifyAD3] How to learn from the New Awesome Kitchen Sink to create your next powerful WebApp/Website

Hi there

As a start to anyone interested in BANanoVuetifyAD3 and its webapp/website development eco-system, creating powerful webapps / websites, I greatly recommend the kitchen sink.

So you can...
 

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:

[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: 231

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

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:

[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: 312

[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: 265
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: 295
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.
 
Top