B4J Tutorials

Designer Menu Items

Menus in the internal designer are declared as JSON strings.

If you have never worked with the JSON format then it is a good time to learn this format. It is simple and very popular. Short...
 
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:
...
 

[example] B4X Time Tracker

Time tracker example with a server component and iOS and Android client apps.
The client apps allow the employees to check in and out (based on the current status).
upload_2015-7-29_16-5-40.png
upload_2015-7-29_16-4-50.png
...
 

Attachments

  • TimeTracker-B4A.zip
    11.8 KB · Views: 618
  • TimeTracker-B4i.zip
    9.2 KB · Views: 474
  • TimeTracker-B4J.zip
    7.1 KB · Views: 690
Last edited:

UI apps packaging - self contained installers

Attachments

  • B4J Packager.zip
    4.7 KB · Views: 2,381
Last edited:

Barcodes - QR Codes, PDF417, Aztec Codes, Code11, Code39, Code93, EAN8, EAN13, and Code128

This is my first attempt at B4J. Have not tried to do anything special to the layout etc. The aim was to get back the correct binary strings to draw Code11, Code39, Code93, EAN8 and EAN13 barcodes...
 

Attachments

  • BARCODES.zip
    181.9 KB · Views: 1,271
Last edited:

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:

Excel Charts and Templates with jPOI library

Attachments

  • ExcelChart.zip
    10.3 KB · Views: 902

Raspberry Pi 2 - Server Performance

I ran some tests to check whether the Raspberry Pi 2 can be suitable for server solutions.

The tests were similar to the tests previously done on a PC...
 

[IoT] Traffic Light with Raspberry Pi

This is a simple example of a traffic light implementation using Raspberry Pi 2.

The red, yellow and green leds are connected to pins 27, 28 and 29 (see the numbering scheme...
 

GameView - Simple Sprites Engine

Attachments

  • jGameViewHelper.zip
    5.6 KB · Views: 1,253
  • Asteroids.zip
    244.3 KB · Views: 1,225
Last edited:

[IoT] MQTT Protocol

What is MQTT?

"MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed so as to be easy to implement. These characteristics...
 

Attachments

  • MQTTExample.zip
    2.7 KB · Views: 5,308
Last edited:

B4J Educational Video Series

Please, see the following links for HD videos teaching B4J from the very beginning all the way through to a working application. The list will be updated in this first post as new videos are...
 
Last edited by a moderator:

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

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

[IoT] Headless Raspberry Pi

During my building of a security camera for my wife's mall store and prep for projects with my personal RPi and PiFace, I quickly discovered that having a headless RPi would be nice.

What is a...
 
Last edited:

where to code put code when using multiple forms

I've started using B4J after using B4A for a few months. What is the best structure of the code when using multiple forms. Unlike B4A where each activity has its own code, or indeed with vb.net...
 

Companion thread to B4J Training Video 5 - Bridge Scripts

As promised in this the B4J Training Video about the Bridge, I am attaching the scripts for running the Bridge from Mac or Raspberry Pi (Linux):

Mac:
1) Create a file called bridge.sh
2) Insert...
 
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...
 

[IoT][RPi] - Raspberry Pi Bluetooth Tutorial

Using the new jBluetooth library it is possible to communicate with Raspberry Pi devices over Bluetooth.

Bluetooth can be very useful in places where there is no local network.

The...
 

Attachments

  • bluecove_rpi_jars.zip
    449.8 KB · Views: 1,393
  • RPi_Bluetooth_B4J.zip
    1.4 KB · Views: 1,259
  • RPi_Bluetooth_B4A.zip
    9.7 KB · Views: 1,093

[IoT]Control a LCD display with you RaspBerry

Last edited:
Top