B4J Tutorials

? [B4X] [XUI] [B4XPages] Using B4J public internet IP address to create a BASIC weather app - Newer developers

Hello All
Here we have an simple example on how you use your desktop OS (in this example Windows) and public internet IP address in conjunction with OpenWeather API, this is just a simple example...
 
Last edited:

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

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

MonoBuilder - Compile B4J programs on Linux or Mac

Don't use this builder. It is no longer maintained.

Mono is a Mac / Linux port of .Net Framework: http://www.mono-project.com/

Using Mono it is possible use B4JBuilder, the command...
 
Last edited:

[BANano] Beginning Firebase Messaging

Ola

For the past 3 days, I've been trying to make this work. Eish. This is the implementation so far. We are not there yet.

1. You need a service worker file. We will create this after...
 
Last edited:

[BANano] [SOLVED] What is the right way to use BANano.WaitFor?

Last edited:

Controlling Sonoff S20 smart power plugs [B4X] [Home Automation]

Hi gang,

Here's how I got the Sonoff S20 to work with B4X. As the standard firmware doesn't come with an API and I wasn't successful trying to translate pySONOFF to B4X, I went down...
 

Attachments

  • SonoffS20demo_B4A.zip
    10.9 KB · Views: 609
  • SonoffS20demo_B4J.zip
    3.7 KB · Views: 575
  • SonoffS20demoNonUI_B4J.zip
    1.2 KB · Views: 548
Last edited:

[MQTT - Message Queuing Telemetry Transport] A For Dummies Experience on MS Windows

Ola

My first steps towards IoT.

1. Download Eclipse Mosquitto
2. There are a lot of examples in the forum about coding this, however I needed a GUI tool to first experiment with this. A...
 

[BANano] Authentication to a B4J server (REST API)

Here is an example on how to connect with a Jetty B4J server. The example shows how you could use the B4J server to login/logoff and run a basic REST API call.

The project zip file is in post #3...
 
Last edited:

[ABMaterial] Since Feedback is still down... I have a "wish"/question to make....

Hi guys...

Well, this goes straight to @alwaysbusy ...

Is it possible to still have a left aligned container in the Navigationbar WITHOUT havins any sidebar items?
If YES, please explain...
 

[ABMaterial] Making Responsive Apps - please contribute your expertise!

Responsive ABMaterial Design - Making this a Reality!

ABM is great for easily making world class web apps - particularly for the desktop (big screens).
That being said, we...
 
Last edited:

B4X Turtle - Planet Orbits

Very very rough (and code not optimized at all)....planets in orbit around the sun:
1. Assumed all orbits are circular
2. Have not scaled the orbits (else I will run out of UI space)
3. Have not...
 

Attachments

  • TurtelPlanets.zip
    70.2 KB · Views: 377

Building a mini "Email based server"

This example uses jNet library together with the MailParser module to build a program that responds to emails.

SS-2013-11-27_10.48.58.png


Although...
 

Attachments

  • EmailServer.zip
    3.5 KB · Views: 2,107

[ABMaterial]: Raising Events from Custom Components

Hi there

With the ability to create custom components for your ABMaterial WebApp, one is also able to raise and capture events when creating and running their webapp.

I have found it easier...
 
Last edited:

Making Installers for Server Apps

Part 1

I have been on the lookout for a simple way to create an installer for my server apps - Ive looked at Inno Setup etc before but I wanted something simple.

My apps are...
 
Last edited:

[BANano] Setting up FileZilla Server

Ola

Download FileZilla Server

If IIS is running on your webserver, you can install the FileZilla server and then set it up for FTP upload. After starting the FileZilla server

1. Add a...
 

[server] Using UI app to create a QR code as part of a server solution

Attachments

  • QRGenerator.bas
    3.6 KB · Views: 548
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...
 

Create shared folders in Virtual Box Ubuntu 20.04 machine to transfer files to compile in Linux your B4J Apps and how to use B4J Bridge

I recently tried to create a shared folder for an Ubuntu machine in Virtual Box with the host to transfer the jar files to be compiled and packed using the external (not integrated)...
 
Last edited:

[BANano+jSERVER=BANanoServer] Going full circle

INTRODUCTION

B4J has an excellent jetty based server: the jServer library. BANanoServer uses this lib and provides you with a lot of goodies to make building WebApps with B4J very simple...
 
Last edited:
Top