how to connect to a MQTT broker that requires a client certificate
Example of how to use a client certificate with the MQTT client
@madru · 2019-12-03
XMLFilesToAndroidX
XMLFilesToAndroidX is a tool for convert android xml layout files in a folder to androidx xml files.
@mshafiee110 · 2019-11-25
Running a B4J Server on Amazon EC2 Linux
This procedure starts from a freshly installed AWS EC2 Linux instance and installs a B4J server, named B4J.jar, configured as a daemon. This tutorial assumes a basic knowledge of a Linux environment, expecially the vi editor.
@Alessandro71 · 2019-11-24
jGauges
It includes many types of gauges. The gauges are implemented as custom views.
@Erel · 2019-11-24
Consuming http streams
Standard http communication is made of a request being sent from the client to the server and the server response sent back to the client. As I''m sure you know you should use OkHttpUtils2 for such requests. There are other protocols such as WebSockets that allow bi-directional and long lasting communication between the client and server. There are some cases where the server keeps the connection open and streams data to the client. Assuming that WebSockets are not used then such cases require non-standard handling. The attached MJPEG class uses a custom OutputStream (implemented with inline Java) together with B4XBytesBuilder to read the data as it comes and keep the connection open.
@Erel · 2019-11-22
WYSIWYG PDF Documents Designer [BANanoPDFDesign]
WYSIWYG PDF Documents Designer [BANanoPDFDesign]
@Mashiane · 2019-11-18
JQuery In-Browser PDF Viewer [BANanoPDFView]
JQuery In-Browser PDF Viewer [BANanoPDFView]
@Mashiane · 2019-11-13
Servers in prod: Disable Port 22 when you don''t need it [VPS]
Servers in prod: Disable Port 22 when you don''t need it [VPS]
@KMatle · 2019-11-12
Client Side PDF Document Generation [BANanoPDFMake]
Client Side PDF Document Generation [BANanoPDFMake]
@Mashiane · 2019-11-12
Exploring BANanoObject.GetFunction & Execute [BANano]
Exploring BANanoObject.GetFunction & Execute [BANano]
@Mashiane · 2019-11-06
displayMessage & Tray App Icon
You can use displayMessage to show a task bar message
@tchart · 2019-11-06
Client Side Excel Report Generation [BANanoOXML]
Client Side Excel Report Generation [BANanoOXML]
@Mashiane · 2019-11-03
Sharing the goodness [BANano]
Thought I should create my own easy reference list of stuff I''ve posted here about BANano.
@Mashiane · 2019-10-31
Managing Hidden Jar Processes
I made this program mainly to view and kill Jar processes that are hidden (non - UI)
@Philip Chatzigeorgiadis · 2019-10-29
Debugging your SPA-PWA on an Actual Device: Android Phones [BANAno]
Debugging your SPA-PWA on an Actual Device: Android Phones [BANAno]
@Mashiane · 2019-10-29
Playing with linear regression
Playing with linear regression
@Erel · 2019-10-23
OkHttpUtils2
jOkHttpUtils2 is a b4x lib included with B4J. The source code is inside the library (it is a zip file).
@Erel · 2019-10-20
15 Mockup Elements for your Prototypes [BANAnoWired]
15 Mockup Elements for your Prototypes [BANAnoWired]
@Mashiane · 2019-10-14
Windows only - Find a pdf printer
Windows only - Find a pdf printer
@Erel · 2019-10-02
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), System Property definition, and extended the Vendor text to set the Publisher/Company fields for the installed program in Windows. My B4J Packager also allows for multiple Projects. The settings for each project are stored individually. Changing the Project Name, (after 1 sec) the previously used settings for that project will be reloaded. Project settings are re-saved on a Build and program exit. Settings can be copied by simply entering a new project name. The Build button and Progress Bar have been stylised a little, just because I could. Also, added tool tips to help with text. Fixed the BROWSE button fault when a previously defined file path no longer points to a valid path (things were moved). This was causing a program crash.
@Starchild · 2019-10-02
SQLite 2 JavaScript / JSON
I needed to embed a sqlite db as part of a web app i''m working on, but as JavaScript / JSON. This app helps with converting your sqlite db to javascript. This is useful when one wants to use the data for READ ONLY purposes, my case in point.
@Mashiane · 2019-09-29
BANanoJSONQuery to the rescue: The case of the survey app.
BANanoJSONQuery to the rescue: The case of the survey app.
@Mashiane · 2019-09-22
Building a coalition [Example]
We had an elections yesterday and I saw a nice widget which can serve as a small example. There are several parties each one with a random number of chairs. The government is made of 61+ chairs out of a total of 120 chairs. BitmapCreatorEffects is used to create images with other colors based on the black image. The chairs are updated in a resumable loop. The target number and the current number are compared each time.
@Erel · 2019-09-18
Building WebApps/Websites with VueJS [BANanoVue]
Building WebApps/Websites with VueJS [BANanoVue]
@Mashiane · 2019-09-15
Raspbee - RPi Zigbee home automation with B4X
Raspbee - RPi Zigbee home automation with B4X
@walt61 · 2019-09-11
jPOI Library - Automatic column width.
jPOI Library - Automatic column width.
@Mark Read · 2019-09-10
Global Temperature Anomalies - Heatmap Custom View
Global Temperature Anomalies - Heatmap Custom View
@jmon · 2019-09-05
MyConsoleClass - Simple PRINT, INPUT for Non-UI programs
I wanted to write myself a simple console (non-UI) program asking the user to enter some information, like an old DOS program. I realised that I needed some quick and dirty PRINT and INPUT functions like QBASIC had. So I wrote this MyConsoleClass which contains functions: Print, Input, PrintString, GetKey, LineFeed, ClearScreen
@Starchild · 2019-09-04
Guide to run a Linux as a Windows 10 Subsystem [B4J server apps]
With the latest update for Windows 10 (version 1903), you can install a Linux distro as a Windows 10 Subsystem. This is very cool for us B4J developers as we can now very easily setup an environment for e.g. a jServer Web App without creating a VM. You can mimic a VPS, try out load balancing stuff with HAProxy, setting up an Apache or MySQL server etc...
@alwaysbusy · 2019-08-29
Modbus TCP server - slave - restricted functionality
A small quick and dirty implementation of the modbus TCP protocol in B4J as a server / slave
@Coldrestart · 2019-08-26