B4J Tutorials

[BANano] Creating libraries

Last edited:

Controlling Sonoff S20 smart power plugs [B4X] [Home Automation]

Hi gang,

Here's how I got the Sonoff S20 to work with B4X. As the standard firmware doesn't come with an API and I wasn't successful trying to translate pySONOFF to B4X, I went down...
 

Attachments

  • SonoffS20demo_B4A.zip
    10.9 KB · Views: 488
  • SonoffS20demo_B4J.zip
    3.7 KB · Views: 451
  • SonoffS20demoNonUI_B4J.zip
    1.2 KB · Views: 424
Last edited:

[BANanoCVC] Creating BANano Libraries in 7 Steps

Ola

Download

A BANano library is a b4xlib that has custom views that one can use to create the websites and or webapps. As BANAno is front end platform independent, one can use any...
 
Last edited:

[BANanoWebix] Lesson 28 Suggestions

Ola

There comes a time when you want suggestions on text, combos etc. The WixSuggest elements comes in handy, you feed it a list of data and map it to a control and wala, when keypressing on the...
 

jexcell and other librairies

How do I install the jexcell bookstore?
In fact I can not find it on the site.
 

Basic ListView Scrolling?

Is there anyway to handle a ListView that has more items than can fit on-screen?
 

[Web] Using PocketBase as a Framework: Lets create a REST API

Ola.

Its amazing with the latest version of PocketBase one can extend it with JavaScript / Go.

So I tested creating some REST API handlers. You can unzip the attached file to your pocketbase...
 

Attachments

  • pb_hooks.zip
    428 bytes · Views: 89

[ABMaterial] AddArrayComponent (simple example)

Cat Skinning - there is more than one way....

I wanted to create a configuration sheet using ABMSwitch. However, the click method does not have a (Target as String) param. Same goes...
 

GameView - Simple Sprites Engine

Attachments

  • jGameViewHelper.zip
    5.6 KB · Views: 1,258
  • Asteroids.zip
    244.3 KB · Views: 1,229
Last edited:

Testing jRDC2 start to end on a VM

Hi I have wrote this just in case someone needs to implement the jRDC2 on a VM on cloud, I know a lot of members already know this and it is definitely not a new information, but for someone that...
 

Attachments

  • upload_2019-8-15_0-31-35.png
    upload_2019-8-15_0-31-35.png
    12.4 KB · Views: 268
  • upload_2019-8-15_0-34-39.png
    upload_2019-8-15_0-34-39.png
    129.4 KB · Views: 283
  • upload_2019-8-15_0-38-49.png
    upload_2019-8-15_0-38-49.png
    154.5 KB · Views: 282
  • upload_2019-8-15_0-39-18.png
    upload_2019-8-15_0-39-18.png
    97.9 KB · Views: 278
  • upload_2019-8-15_0-39-36.png
    upload_2019-8-15_0-39-36.png
    197.5 KB · Views: 287
Last edited:

[BANanoWebix] Creating Multi-Page Apps - Part 1

Attachments

  • BWMP1.zip
    15.2 KB · Views: 391
Last edited:

[ABMaterial] ABMPivotTable new functionalities (2.50)

The ABMPivotTable component has been extended with some extra functionalities:

1. Collapsable/Expandable rows and columns
2. Presetting table type and aggregation type + values
3. Show readonly...
 

[Pen&Paper] with Source Code Preview

Hi there

I have been working on a helper tool for ABMaterial as discussed in this post.

One of the most amazing feautures that have been added now is the ability to see the source code...
 

Attachments

  • PreviewSourceCode.png
    PreviewSourceCode.png
    21.8 KB · Views: 509
  • PreviewSourceCode1.png
    PreviewSourceCode1.png
    54.2 KB · Views: 511
  • ImageSlider.png
    ImageSlider.png
    70.2 KB · Views: 572
  • AddImagSlider2.png
    AddImagSlider2.png
    24.6 KB · Views: 482
Last edited:

Scan 1D / 2D barcodes with your Laptop's WebCam

Last edited:

How to start another module / visual in b4j

Hi I'm creating an application in b4j, my first by the way. but I haven't found the way to start
another module. I have main form, but I need to open another one to display the reports from a...
 

[B4J] A solution for SQL Brute force Protection

Hi there,

I want to share a tactic / a small guard for MySQL/MariaDB DataBases..

Well all we know that having a Database online and not in localhost is difficult to protect from...
 

Attachments

  • MBB.zip
    14.9 KB · Views: 379
Last edited:

[BANano] Support for B4Xs 'Wait For'

The next release of BANano (v7.15+) will support B4Xs cool 'Wait For' feature! BANano already has such a system with BANanoPromise, but it is a lot 'JavaScript' like and not 'B4X' like.

As I...
 
Last edited:

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: 299
  • upload_2018-7-21_19-31-20.png
    upload_2018-7-21_19-31-20.png
    38.3 KB · Views: 298
Last edited:

[ABMaterial] Change font type

This post is the answer @alwaysbusy gave me to my question about how to implement a label to look like a clock:

Make a new css file and put it in /css/custom) In my case, 'Digital-7.css'...
 

Application protection

This is at present a proof of concept, but does allow applications written in B4J to be protected.

It relies on my Nashorn library.

The way it works is as follows:

The B4J application pulls in...
 
Top