B4J Tutorials

[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,320

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

[WebApp] Understanding the browser and optimizing the frontend

In my morning readings i came across an interesting and very well explained tutorial on how the browser works and how can we optimize the payload that the server sends to the browser.

You can...
 

[WebApp] Quiz Example

[WebApp] Minimum Spanning Tree

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

[WebApp] Example Team Manager using jQuery Mobile, WebSockets & SQLite

This OpenSource WebApp is based upon a request to manage team events from Android, iPhone, Windows and Linux (Raspberry) devices.
The solution is a B4J WebApp, using jQuery Mobile (jQM)...
 
Last edited:

[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] 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,203

[WebApp] Concurrent access to SQLite databases

SQLite databases are very easy to use as they don't require any additional software or configuration.

SQLite support for concurrent access is not comparable to server based databases such as...
 
Last edited:

[WebApp] Chatroom - Threads, Sessions and Server events

Attachments

  • Chatroom.zip
    6.8 KB · Views: 1,679
Last edited:

[WebApp] (mini) Template Engine

WebUtils.ReplaceMap together with the CreateMap keyword are useful for building dynamic strings, especially for html output.

For example, in the chat example when a user writes a message we...
 

[WebApps] Using Laragon as your development web server

[Web3] Deploy your Static Website on the Internet Computer and make it a dApp

Hi

So I wanted to make SithasoDaisy Static Demo App a dApp, so that it runs on the Internet Computer.


1. Create an account on fleek, https://fleek.co,
2. Link your Github profile...
 
Last edited:

[Tool] WindowsStorePackager - publish your App to the Windows Store

Last edited:

[Tool] MacStorePackager - publish your App to the Mac AppStore

Last edited:

[Tool] Integrated B4JPackager11 helper: PrepInstallerScript (with source code)

I was making the switch from Java 8 to Java 11 and wanted to use the 'Integrated B4JPackager11' as explained by @Erel in...
 

Attachments

  • PrepInstallerScript.zip
    5.5 KB · Views: 350

[SQLite] Make Custom Functions and Regex

SQLite3 has the REGEXP keyword. That means we can do SQLite queries like
B4X:
SELECT * FROM table1 WHERE col1 REGEXP '\d+[a-z]+\d*';
.

Unfortunately, the REGEXP keyword references an SQLite...
 

Attachments

  • SQLiteREGEXP.zip
    2 KB · Views: 560

[SOLVED][ABMaterial/BANano] BANano Libraries for ABMaterial - ID not found

So...

I wanted to test the new feature of creating BaNano libs to use with ABMaterial...
I basically copied the hover example as it was what I needed for time being, and followed the...
 

[SOLVED][ABMaterial/BANano] BANano Libraries for ABMaterial - How to change Library Properties?

Hi Alain,

When "creating" custom libraries in B4X one can introduce a few properties, like Author, Version etc....
I tried using those properties, but it has no effect in the lib, I'm guessing...
 
Top