B4J Tutorials

[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: 657
  • winsonic_client.zip
    86 KB · Views: 683
  • windsonic_client.png
    windsonic_client.png
    36.3 KB · Views: 766
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: 619

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...
 

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

Creating 1D and 2D Barcodes using inline Java Code and the ITEXT library

The attached project uses inline Java code and the ITEXT library to create various types of 1D and 2D barcodes. The barcodes are store in a PDF file(s). Change the code in the B4J class or add...
 

Attachments

  • ITEXT_BARCODES.zip
    4.5 KB · Views: 1,186

[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: 897
  • TimeTracker-B4i.zip
    9.2 KB · Views: 768
  • TimeTracker-B4J.zip
    7.1 KB · Views: 972
Last edited:

[Server] Online Json Tree Example

Attachments

  • ServerJsonTree.zip
    7.7 KB · Views: 1,906
Last edited:

The Official Raspberry Pi Projects book

Free download here
 

[IoT]Control a LCD display with you RaspBerry

Last edited:

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...
 

[Server] Send and receive objects

This is an old example. Better use B4XSerializator to serialize objects.

One of the nice things about using B4J server as the backend of B4A applications is that you can send and receive...
 
Last edited:

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:

(B4X) Creating LAMP server with b4x on Amazon EC2

LAMP: Linux Apache MySQL PHP

In this tutorial I will explain how to bring complete working server, on Amazon EC2 (you get 1 year free)

I am using this server for sending notification for iphone...
 

[WebApp][IoT] PiFace (Raspberry Pi) Server Example

SS-2014-04-17_10.51.25.png


This example demonstrates how a Raspberry Pi board can be controlled from the browser.

It tracks the switches state and...
 

Attachments

  • PiFaceServer.zip
    6 KB · Views: 1,639

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...
 
Top