B4J Tutorials

[WebApp] Custom Elements - DatePicker & Dialogs

The web app framework can be easily extended with new elements and new features.

In this example we use two elements from jQuery UI library...
 

Attachments

  • DatePicker.zip
    3.6 KB · Views: 1,213

[WebApp] Example Task Manager using WebSockets & SQLite

This example is a simple Task Manager using HTML to access the server by the Client.
The tasks are stored in a SQLite database, which is managed by the B4J WebServer.
Read...
 

[WebApp] Web Apps Overview

SS-2014-04-10_17.09.21.png


B4J v2.00 adds support for web applications based on WebSocket technology. With WebSocket The browser and the server...
 

Attachments

  • ServerExample.zip
    75.1 KB · Views: 1,459
  • ServerExampleNoMySQL.zip
    71.8 KB · Views: 1,494
Last edited:

[WebApp] Hello World Web App

In this tutorial we will develop the following web app:

SS-2014-04-10_15.45.57.png


There are three components to this solution:

Main module...
 

Attachments

  • WebAppHelloWorld.zip
    3.2 KB · Views: 3,786
Last edited:

[Server] Regex Tool

Attachments

  • regex.zip
    2.4 KB · Views: 976

[Server] Google Charts service

Attachments

  • google_charts.zip
    2 KB · Views: 974

[Server] Table report with Export feature

Attachments

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

[Server] Online Json Tree Example

Attachments

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

[Server] Login System & Filters Tutorial

Attachments

  • LoginExample.zip
    11.7 KB · Views: 2,204
Last edited:

[Server] Custom error pages

Starting from B4J v1.80 you can configure custom error pages. This means that instead of the default error page:

SS-2014-03-13_16.43.30.png


You can...
 

Remote debugging with B4J-Bridge

B4J v1.80 adds support for remote debugging using B4J-Bridge, a tool similar to the beloved B4A-Bridge.

The purpose of B4J-Bridge is to allow you to connect the IDE to a remote machine such...
 
Last edited:

B4J Arduino Demo

Here's a really simple demonstration of connecting an Arduino Uno to an app written in B4J.

You will need to modify the code around line 25 to reflect the correct COM Port that your Arduino is...
 

Attachments

  • B4J_Arduino_V2.zip
    1.5 KB · Views: 892
Last edited:

String to variable - Iterate variable names

This is a simple idea to replace the function "eval" or "execute" that other programming languages have. The purpose is to retrieve a variable from a string:

How to iterate variable...
 

[Server] Performance measures

B4J server library is based on an open source project named Jetty.
Jetty server performance is excellent which means that B4J server performance is also excellent.

The following numbers are the...
 

[Server] Guess My Number example

The purpose of this example is to demonstrate how you can interact with the server through ajax requests.

SS-2014-02-04_13.10.42.png


The server...
 

Attachments

  • ServerGuessMyNumber.zip
    2.4 KB · Views: 777

B4J Change Log (version history)

Last edited:

[Server] CCTV Server

In a previous example we shown you how you can use B4J to create a desktop application that connects to a number of devices and shows the camera frames: B4J CCTV example

In this example we...
 

Attachments

  • CCTV-Client.zip
    9.7 KB · Views: 1,668
  • CCTVServer.zip
    2.5 KB · Views: 1,660
Last edited:

B4J on linux

hi,

After few adjustments B4J works fine on Ubuntu.
See picture;-)

If you want, I'll write a tutorial in french.
Looking for a translator .... If someone want it!

see you soon.
Capture du 2014-01-28 22_58_59.png
 

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

[Server] Data Collection Solution - Device, Desktop and Web reports

This is an example of building a data collection solution. The solution is made of three components:
- (B4J) Server - Manages the data in a SQLite database.
- (B4A) Device client and (B4J) desktop...
 

Attachments

  • DataCollectionServer.zip
    4.7 KB · Views: 1,972
  • DataCollectionDevice.zip
    8 KB · Views: 1,729
  • DataCollectionDesktop.zip
    2.1 KB · Views: 984
Last edited:
Top