B4J Tutorials

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: 370
  • upload_2018-7-21_19-31-20.png
    upload_2018-7-21_19-31-20.png
    38.3 KB · Views: 365
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: 644

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

jRDC2 client example (using modded jRDC2)

Attached you find an example of accessing a jRDC2 server. This is a conversion of the DBUtils example program (here...
 

Attachments

  • jRDCv2_Client_B4J.2024.07.27.01a.zip
    9.6 KB · Views: 92
Last edited:

[ABMaterial] Creating a color grid container

Ola

ColorGrid.png


Some thoughts are running in my head about implementing this for my color coded events management. So we have 21 colors. So me thinks a 7 row, 3 columns grid will do.

B4X:
Sub...
 

[SERVER] Valid SSL certificate for localhost for your development machine

So I was intrigued that I couldn't have a valid ssl cert for localhost so what I did might be useful to someone:

--- THIS IS DONE IN LINUX ---

1. Generate a RSA-2048 key and save it to a file...
 

Excel Charts and Templates with jPOI library

Attachments

  • ExcelChart.zip
    10.3 KB · Views: 1,015

[IoT] - Raspberry Pi CCTV with MQTT

Simple solution that uses an embedded MQTT broker with a MQTT client to send the camera output to any connected client. The camera used is the standard RPi camera module.

The program starts...
 

Attachments

  • PiCCTV_B4J.zip
    1.1 KB · Views: 1,085
  • PiCCTV_B4A.zip
    7.7 KB · Views: 950
Last edited:

Easy upload files with httputils' original poststring to a php script with x parameters

The normal postfile method just posts the file data. So you are not able to get the filename and other needed parameters. There are other examples, but sometimes you need a small solution. The...
 

[B4X] Modules, Files, Groups and Folders

The latest IDE update adds support for grouping files and modules.

Groups

SS-2017-11-27_12.25.00.png


You can add groups with a right click...
 
Last edited:

jRDC2 - B4J implementation of RDC using JDBC microsoft

I used the example that Erel published to create my application and connect it to a server database microsft sql server 2008, in principle I used the odbc open source of JTDS but I had...
 

LogServer sending complex data

Data from classes, types or any other object can be sent as a message to LogServer by writing a Sub to format the data in an easily readable manner.

The example app (B4j) shows this, and...
 

Attachments

  • LoggingTypes.zip
    7.3 KB · Views: 360

Logserver using in multiple modules / classes.

LogServer can only accept one connection at a time, therefore we should not initialize the LogServerClient multiple times to access it from different classes / modules.

Instead, declare it...
 

Fix trails when moving Nodes

Hello,

If youre creating apps that work with moving nodes (in my case D'n'D), you may als have seen that moving nodes sometimes results in ugly trails on the Parent Pane.

Heres how to fix that...
 
Top