B4J Tutorials

[BANano] (v7) Running Cron Jobs (in the background)

The next version of BANano (7) will have the ability to run Cron jobs!

A Cron is Timer like functionality that runs a certain job automatically at a specified time following a predifined...
 
Last edited:

[BANano] (v7) New object BANanoRouter

BANanoRouter is a full blown Router with paths that will be standard included in the next release of BANano. It allows you to better organize your code in a PWA/SPA WebApp. It is based on the...
 

[BANano] (v7) Using Background Workers in your WebApps (introduction)

The next release of BANano will have the possibility to use background workers in your WebApps. It can not be added in a BANanoLibrary, so it must be done in your final project. Background...
 
Last edited:

[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: 567
  • linuxify screenshot.PNG
    linuxify screenshot.PNG
    21.1 KB · Views: 513
  • CopyFilesForLinuxify.zip
    3.1 KB · Views: 517
  • Linuxify.zip
    26.3 KB · Views: 518
Last edited:

[NLP] Library or Question?

[NLP] Sentiment analysis

1630481260757.png


The "sentiment" feature in the example project, uses NLP document categorizer feature to find whether the text is negative or positive.
The dataset for the model contains movie...
 

[Example]Using the Within Class Full Access Feature

When my assumptions are challenged I listen.
We all know Public variables and subs in a class are available to procedures external to the class.
But recently I learned from @LucaMs that...
 
Last edited:

Setting a dynamic address IP in namecheap. Program + source

Hello.
Namecheap.com is probably known to many as a domain provider. You can buy an interesting domain for our project for pennies. Some time ago I put my own small OpenMediaValue server on...
 

[B4XPages] Save the pages size and position

Add to B4XMainPage:
B4X:
Type PagePosition (Left As Int, Top As Int, Width As Int, Height As Int, IsIconified As Boolean)
Private kvs As KeyValueStore
And:
B4X:
Public Sub SavePagePosition (Page...
 

Attachments

  • Project.zip
    192.5 KB · Views: 408
Last edited:

STARTTLS - upgrading a non-tls socket to a tls socket.

Upgrading from a non-tls connection to a tls connection only makes sense when dealing with a protocol that specifically requires it. It is much simpler and also a bit more secure to start with a...
 

Attachments

  • smtp.zip
    3.3 KB · Views: 294

B4J Primes Benchmark

I found this benchmark that tests the same algorithm in multiple programming languages and decided to test it in B4J.

I've implemented the two algorithms.

B4X:
Sub Process_Globals

End Sub...
 

[Tool] Integrated B4JPackager11 helper: PrepInstallerScript (with source code)

I was making the switch from Java 8 to Java 11 and wanted to use the 'Integrated B4JPackager11' as explained by @Erel in...
 

Attachments

  • PrepInstallerScript.zip
    5.5 KB · Views: 354

How to run .jar files on MacOs + VM to test (and other MacOs things)

Hi,

I had to make my application (PostChat) available on MacOs. I had no problems porting the app to Linux, but I found the port to MacOs very annoying, and had lots of issues. So I'm posting...
 

H2 Database

Last edited:

[jPOI] Migration to version 5 Mac

For Mac
as already suggested by the good @KMatle

I needed to remove the Packager property (The B4J-packager does it on it's own with the new version)

Note 1*
B4X:
'#PackagerProperty...
 
Last edited:

Tag management for UI Nodes

In B4XPages we rely heavily on tags to identify UI elements. Yet tags are valuable for connecting data to the UI, too, and it is easy to feel we are wasting tags for identification.
There is a...
 

[BANano] Why it is important to use unique names for your elements when not using AutoID?

Ola

I just spent some time nearly sweating as to why my app was not working properly. Turns out that my element names are not unique and as such a conflict arose.

1624993108777.png


Background...
 

[BANano] why you might need parseBool

Ola

I use a lot of parseInt and parseFloat when I code because even when I define the variables as Int, Double, Float etc, somewhere somehow mistakes happen, you find your app not working and...
 

[XLUtils] Word document with 200 charts

Attachments

  • 1.zip
    79.4 KB · Views: 371

[XLUtils] Word - bookmarks, urls and page breaks

1624261177989.png


XLUtils v2.02 adds support for urls, bookmarks and page breaks.

A paragraph tag with the PageBreak attribute will start on a new page.
B4X:
$"[p PageBreak=True]This will appear...
 

Attachments

  • WordExample.zip
    16.5 KB · Views: 346
Top