B4J Tutorials

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

upload_2014-1-30_16-26-52.png


The handler...
 

[ABMaterial] One Page, Many Uses

TripInspect.png


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

googleanalytics.png


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,403

[RPi] - PiFace Control And Display (CAD)

Attachments

  • PiFace_CAD.zip
    1.7 KB · Views: 952

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: 680
  • winsonic_client.zip
    86 KB · Views: 716
  • windsonic_client.png
    windsonic_client.png
    36.3 KB · Views: 808
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: 645

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:

Internal Visual Designer

Starting from B4J v3.50 the IDE includes a visual designer similar to B4A and B4i designer.
The output of the designer is a bjl file. This file can be loaded to other panes or containers with:
B4X:
...
 

[ABMaterial] Number of Data Grid Rows to Display

I work on a laptop (14" screen) as my primary screen.
I also have a 21 inch screen as my extended display (used for browser display mostly).

The Feedback example hard-coded the number of...
 
Top