B4J Tutorials

[Server] Build a printer server with PrintHtml

Using external CSS file to style a ToggleButton

Tried
B4X:
aToggleButton.Style=":selected{-fx-background-color:black;}"
Not working for me. Any advice?
Furthermore, how can I relate the style of a node created by code with a css file?
 

[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,964
  • DataCollectionDevice.zip
    8 KB · Views: 1,719
  • DataCollectionDesktop.zip
    2.1 KB · Views: 976
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:

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


The handler...
 

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] 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,660
  • CCTVServer.zip
    2.5 KB · Views: 1,652
Last edited:

B4J Change Log (version history)

Last edited:

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

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

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

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: 881
Last edited:

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:

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

[Server] Login System & Filters Tutorial

Attachments

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

[Server] Online Json Tree Example

Attachments

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

[Server] Table report with Export feature

Attachments

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

[Server] Google Charts service

Attachments

  • google_charts.zip
    2 KB · Views: 964

[Server] Regex Tool

Attachments

  • regex.zip
    2.4 KB · Views: 970

[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,772
Last edited:

[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,435
  • ServerExampleNoMySQL.zip
    71.8 KB · Views: 1,471
Last edited:
Top