B4J Tutorials

Dump/zip/FTP-Upload a MySQL-DB

I use some Windows *.bat files to do backups, etc. Some things are quite difficult or crap to do (like error handling, messaging, etc.) so I decided to convert one of my scripts to a non-ui B4J...
 

[Server] Screen Capture & FTP

Last edited:

[Server] Screen capture server

This is a simple server that takes a screenshot of the current desktop screen and returns the image as the response.

For example if you call it from the device browser:



The handler...
 

[ABMaterial] One Page, Many Uses



This example uses one ABM page to handle all tables listed under "Configure App".
In an effort to reduce code size (and maintenance), number of pages and duplicate methods, I am...
 
Last edited:

[WebApp] Minimum Spanning Tree

[IoT] Linux Embedded Boards - Gettings started

There are many Linux based, embedded boards available. Most or all of them support Java which means that they also support B4J.

In order to start development we need to install Java JRE 7+ (JDK...
 
Last edited:

[ABMaterial] New component ABMPDFViewer in 1.08

A new component for ABMaterial in the next version (1.08): ABMPDFViewer. It allows viewing, printing, downloading, localizing, a side view to show pages and more.

Completely materialized...
 

[ABMaterial] Animating about anything

I'm finalizing version 1.07, and one of the new things you will be able to do is animate ABMContainers (and ergo all its child components. Here is a demo animating a slide in/slide out of a...
 

[ABMaterial] Using Google Analytics in 1.07



I've put a new tutorial post on my blog on how to use Google Analytics in the upcoming new version of...
 

Install Bluetooth on Raspberry Pi with Raspbian Jessie

I have no idea where to post this, so please excuse if this is not the right place.

The installation of a bluetooth dongle on the new Raspbian Jessie is apparently different.

Common to...
 

[ABMaterial] Infinite scrolling pages with 1.07

A new feature in v1.07 will be Infinite Scrolling Pages (like twitter, facebook, etc). It's going to be super simple to make

Demo video:

The code:...
 
Last edited:

[Server] Table report with Export feature

Attachments

  • TableExample.zip
    5.7 KB · Views: 1,201

[RPi] - PiFace Control And Display (CAD)

Attachments

  • PiFace_CAD.zip
    1.7 KB · Views: 731

Basic ListView Scrolling?

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

[ABMaterial] One Page - Subs required

Continuing the One Page, Many Uses example, here we demonstrate how to create and collect the events raised for each Type (Employee, Vehicle, User, etc).

The module form is getting rather large...
 

[ABMaterial] Populate a combo based on another selection

You may be thinking that I create these tutorials for myself. You may be right!!!
My RAM memory is very limited. Erel has offered (us) a place to securely store them (he is so kind) for future...
 

Remote control Raspberry Pi with Tablet via Bluetooth.

Based on various tutorials and posts, I have made this remote control for my RPi.
Hardware required: Tablet with 1200 x 800 resolution (can be reduced by changing the layout file) and Bluetooth...
 

Attachments

  • Windsonic_server.zip
    1.9 KB · Views: 463
  • winsonic_client.zip
    86 KB · Views: 485
  • windsonic_client.png
    36.3 KB · Views: 533
Last edited:

[IoT] Raspberry 2 & B4J from the scratch...

This tutorial is about:

- Installing a brand new RaspBerry 2 (RB) (older models will do, too)
- configure WiFi on the RB
- get remote access to the RB from your PC via "Putty"
- share files...
 
Last edited:

B4J: Using RSA with OpenSSL & php

Here's an example B4J app which

- creates RSA Keys
- send the public key to a php script with a message
- the php will encrypt/decrypt/Send the server's keys
- concert/load the server's keys to...
 

Attachments

  • RSAExampleB4J.zip
    3.2 KB · Views: 458

Getting Started Examples

This package includes several simple examples to help developers get start with B4J.

The following examples are included:
  • Hello World - One line example that prints Hello World.
  • Guess...
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…