B4J Tutorials

UI apps packaging - self contained installers

Attachments

  • B4J Packager.zip
    4.7 KB · Views: 2,854
Last edited:

My B4J Packager - an extended version

This "My B4J Packager" started as the B4Jpackager provided by Erel. I have added the text entry fields for the extra things like, Menu Group, JavaVM Options (to set memory requirements)...
 

Attachments

  • MyB4JPackager v2-01.zip
    8.5 KB · Views: 556
Last edited:

[ABMaterial] Custom Component CustomChartJS

Objectives
Create an ABM custom component to display line and bar charts.

The custom component build, CustomChartJS, is a minimal solution based upon the Chart.js project...
 

Attachments

  • B4JHowToABMCustomChartJS.zip
    85.9 KB · Views: 685
Last edited:

[ABMaterial]: Sharing the goodness

Article 1: Generic Excel Importer Class for your ABMUpload component

For my ABMaterial App, I needed a Ms Excel worksheet importer, so I decided to build one.

For this, you will need the...
 

Attachments

  • clsExcelmporter.bas
    12.3 KB · Views: 774

Another Blockchain example

Attachments

  • BlockChainTest.zip
    7.8 KB · Views: 620
Last edited:

SQLite Triggers: Creating Audit Trails For Dummies

Ola

What is an audit trail? As per Wikipedia...

An audit trail (also called audit log) is a security-relevant chronological record, set of records, and/or destination and...
 

Attachments

  • DBTriggers.bas
    9 KB · Views: 693
Last edited:

Hint about ("remote") DB queries

After (unfortunately) having write many functions (in a code module in my b4j server project) which access a MySql, I remembered a fundamental rule: use Try-Catch when accessing external...
 
Last edited:

[ABMaterial] Using MS Excel as your reporting Engine for Database Records

Hi there...

This is a continuation of my previous posts about dynamic charts and dynamic sidebaritems. My next challenge was to use the already existing MS Excel templates for reporting, inside...
 
Last edited:

[IoT] MQTT Protocol

What is MQTT?

"MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed so as to be easy to implement. These characteristics...
 

Attachments

  • MQTTExample.zip
    2.7 KB · Views: 6,174
Last edited:

Easier SQL Inserts

A standard SQL insert in B4J may look something like this:

B4X:
 Dim InsertCustomerSQL As StringBuilder
   Dim InsertValues As List
   Dim InsertID As Long
   Dim RS As ResultSet...
 

Attachments

  • EZSQLInsert.zip
    66.1 KB · Views: 599

[IoT][RPi] - Raspberry Pi Bluetooth Tutorial

Using the new jBluetooth library it is possible to communicate with Raspberry Pi devices over Bluetooth.

Bluetooth can be very useful in places where there is no local network.

The...
 

Attachments

  • bluecove_rpi_jars.zip
    449.8 KB · Views: 1,707
  • RPi_Bluetooth_B4J.zip
    1.4 KB · Views: 1,535
  • RPi_Bluetooth_B4A.zip
    9.7 KB · Views: 1,395

TwitterZapier Library Tutorial

Hi,

As I wanted to post messages to Twitter within my B4J app I couldn't find any Twitter library's (or code) to use with B4J, so I created this small library to allow me to tweet messages to...
 

Attachments

  • upload_2018-7-21_19-26-5.png
    upload_2018-7-21_19-26-5.png
    99.9 KB · Views: 515
  • upload_2018-7-21_19-31-20.png
    upload_2018-7-21_19-31-20.png
    38.3 KB · Views: 504
Last edited:

[ABMaterial] Package your WebApp with InnoSetup

Ola

Well, this is not related to ABM per se, but due to the fact that I wanted to package an ABM app for distribution for users to use in in their computers without the need of an internet...
 

[B4X] Resumable Subs - Sleep / Wait For

New video tutorial:


Resumable subs is a new feature added in B4J v5.50 / B4i v4.00 / B4A v7.00. It dramatically simplifies the handling of asynchronous tasks.
(This feature is a...
 
Last edited:

[server] Conscrypt and Http/2

Last edited:

[ABMaterial] Alternative lightweight charts

The official charts library of ABMaterial is Chartist, but because of its many features it is also a rather slow rendering js/css library and not always that easy to implement. @Mashiane...
 

Attachments

  • FrappeChart.zip
    17.2 KB · Views: 815

[Server] Build a printer server with PrintHtml

[ABMaterial] New component ABMFileManager (4.25)

ABMFileManager is a new component in the upcoming ABM 4.25 to manage files on your server (where the .jar file runs), but is not limited to the www folder. This feature makes it very useful on...
 

[ABMaterial] Text2Speech

Ola

Been looking for this like forever...

Usage:

B4X:
MashSpeak(page,"I have been developing A.B.M. web apps for a while now. It's an enjoyable experience.",0.7)

B4X:
Sub MashSpeak(pg As...
 
Last edited:

[ABMaterial]: How to fit ABMGoogleMap to RC with SetFixedHeightFromBottom?

Ola...

I have created an RC(2,1) and page.Cell(2,1).SetFixedHeightFromBottom(20, False)

The height of my ABMGoogleMap is 500 (int) however I want it to fit the whole RC, taking the whole page...
 
Top