B4J Tutorials

[server] jOkHttpUtils2 - server version

OkHttpUtils2 methods are designed to be called on the main thread. This is the case in all platforms and configurations, except of B4J server solutions.

Starting from jOkHttpUtils2 v2.95 it is...
 
Last edited:

B4J Server: Requesting and Installing SSL Certificate

I thought I would share how I requested and installed a SSL certificate for my B4J server.

In my case I used namecheap.com to purchase a $9 SSL certificate. I already had a domain name and a...
 
Last edited:

✅ [B4X] [XUI] [B4XPages] Simple B4J stock ticker app code using JSON REST API - Newer developers

Hello to you all,
Here is a simple example on retrieving data from a REST API requested using the JSON Generator (you could also use http URL download), the same JSON library is also used to parse...
 
Last edited:

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

  • SonoffS20demoNonUI_B4J.zip
    1.2 KB · Views: 774
  • SonoffS20demo_B4J.zip
    3.7 KB · Views: 819
  • SonoffS20demo_B4A.zip
    10.9 KB · Views: 867
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: 637

Building a mini "Email based server"

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



Although...
 

Attachments

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

[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: 825
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…